Tag: programming languages

Questions Related to programming languages

import java.lang.*; class A { public static void main(String[] args) { String s1=new String("TCS"); String s2="TCS"; System.out.println(s1==s2); System.out.println(s1.equals(s2)); } } What is the Result?

  1. Compile time error

  2. false true

  3. true false

  4. true true


Correct Option: B

What is default event in ABAP program events?

  1. Initialization

  2. Start of Selection.

  3. At Selection-screen output

  4. At Selection-screen.


Correct Option: B
  1. Start-of- selection

  2. top-of -page

  3. End-of- Selection.

  4. End- of- page


Correct Option: C
  1. AT LAST

  2. AT TOP

  3. AT NEW OF

  4. AT END


Correct Option: A