Tag: programming languages

Questions Related to programming languages

SAS Statements can span more than one line

  1. True

  2. False


Correct Option: A
  1. show(byte b){ }

  2. show(long l){ }

  3. none of the above

  4. compilation error


Correct Option: B
  1. show(float f){ }

  2. show(int i){ }

  3. show(double d){ }

  4. none of the above


Correct Option: A

How many objects are created in the below code...????

String s="abc";  
String s1=new String("def");
  1. 1 Object

  2. 2 Objects

  3. 3 Objects

  4. 4 Objects


Correct Option: C