creativity Online Quiz - 14

creativity Online Quiz - 14

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

If the scale on a map is 1:10000, how long, in metres, will a 5cm road be in real life?

  1. 50000
  2. 50
  3. 500
  4. 5000
  5. 5
Question 2 True/False

Is it valid?? int _samId=new Integer(12);

  1. True
  2. False
Question 3 Multiple Choice (Single Answer)

Wrapper class of boolean??

  1. boolean
  2. Boollean
  3. Bolean
  4. Boolean
Question 4 Multiple Choice (Single Answer)

Java 5.0 what this 5.0 stands for and in case of Java1.5 , 1.5 stands for??

  1. Java5.0 is product version no and Java1.5 is internal Version number
  2. Java1.5 is external version no and Java5.0 is internal Version number
  3. Java1.5 is product version no and Java5.0 is internal Version number
  4. Java1.5 is internal version no and Java5.0 is external Version number
Question 5 Multiple Choice (Single Answer)

output?? import java.util.; import java.text.; public class NowString { public static void main(String[] args) { Date now = new Date(); DateFormat df =DateFormat.getDateInstance(); String s = df.format(now); System.out.print("Today is " + s); Integer id=new Integer(12); System.out.print(id); } }

  1. Today is Aug 2, 201012
  2. Today is Aug 2, 2010
  3. Today is 12
  4. None
Question 6 Multiple Choice (Single Answer)

How many keywords does JAVA has??

  1. 50
  2. 49
  3. 48
  4. 51
Question 7 Multiple Choice (Single Answer)

where does the class methods stored in the Ram??

  1. Heap
  2. Kernal
  3. Stack
  4. Static Data Blocks
Question 8 Multiple Choice (Single Answer)

The class that lies at the Top of the Hierarchy???

  1. Metaclass
  2. Superclass
  3. Object
  4. None
Question 9 Multiple Choice (Single Answer)

Output when the object of NowS is created ??? import java.util.*; class Sam { private int no; Sam() {no=0;} Sam(int n) {no=n;} } class NowS extends Sam{ private int x; NowString() { x=12; Super.Sam(12); System.out.println(x); } }

  1. 12
  2. nothing
  3. compilation error
  4. 0
Question 10 Multiple Choice (Single Answer)

We don't have the concept of multiple inheritance in Java but we still requires it How does JAVA helps us in this situation?

  1. Import new package
  2. use concrete class
  3. Use of Interfaces
  4. Use Inheritance
Question 11 True/False

Interface is 100% abstract ..

  1. True
  2. False
Question 12 Multiple Choice (Multiple Answers)

which of them are executed before contructor is called??

  1. static variable
  2. Abstract method
  3. Initializer Block
  4. Instance variables
Question 13 Multiple Choice (Single Answer)

Which of them are Not inheritable??

  1. constructor
  2. public instance variable
  3. protected members
  4. Primitive elements
Question 14 Multiple Choice (Single Answer)

Output?? boolean var = false; if(var = true) { System.out.println(“TRUE”); } else { System.out.println(“FALSE”); }

  1. Run-time Error
  2. True
  3. Compilation Error
  4. False
Question 15 Multiple Choice (Single Answer)

What is the fear of washing known as ?

  1. Ablutophobia
  2. Agateophobia
  3. Aeroacrophobia
  4. Ailurophobia
Question 16 Multiple Choice (Single Answer)

What is the fear of toads known as ?

  1. Belonephobia
  2. Bufonophobia
  3. Batophobia
  4. Bacteriophobia
Question 17 Multiple Choice (Single Answer)

Fear of school...?

  1. Scatophobia
  2. Scotophobia
  3. Siderodromophobia
  4. Scolionophobia
Question 18 Multiple Choice (Single Answer)

Fear of the color black...?

  1. Malaxophobia
  2. Medomalacuphobia
  3. Melanophobia
  4. Methyphobia
Question 19 Multiple Choice (Single Answer)

What do we call Fear of ghosts...?

  1. Potophobia
  2. Phasmophobia
  3. Pocrescophobia
  4. Alliumphobia
Question 20 Multiple Choice (Single Answer)

If you had only one match and entered a COLD and DARK room, where there was an oil heater, an oil lamp and a candle, which would you light first?

  1. oil heater
  2. oil lamp
  3. candle
  4. none of this