MCQ 1 How can we identify whether a compilation unit is class or interface from a .class file?
MCQ 2 The jdb is used to
MCQ 3 The _______________ and _________________ classes are abstract classes that support reading and writing of byte streams.
MCQ 4 State true or false for Java Program.
i) Data members of an interface are by default final
ii) An abstract class has implementations of all methods defined inside it.
MCQ 5 The new operator dynamically allocates ______________ for an object and returns a reference to it.
MCQ 6 Each method in a java class must have a unique name
MCQ 7 All java classes are derived from
MCQ 8 Which component is responsible for converting bytecode into machine specific code?
MCQ 9 Which of the following do not represent legal flow control statements?
MCQ 10 If a variable is declared FINAL, it must include _________________ value.
MCQ 11 In java RMI, stub is located in
MCQ 12 ______________ is the wrapper class.
MCQ 13 The string is defined in ______________ name space.
MCQ 14 _______________ is passed to a method by use of call by reference.
MCQ 15 Which of the following is not keyword?
MCQ 16 System.in.read() is being used, the program must specify the _______________ clause.
MCQ 17 The _________________ looks only for a match between the value of the expression and one of its case constants.
MCQ 18 The most common problem of writing a java program is
MCQ 19 The bitwise AND operator is represented by a single ampersand (&) and is surrounded on both sides by
MCQ 20 What are the exceptions which have to be handled in a RMI client program?
MCQ 21 Which of the following is an advantage of the statement – Separation of business logic from JSP ?
MCQ 22 The java variable is/are
MCQ 23 Which variables are created when an object is created with the use of the keyword 'new' and destroyed when the object is destroyed?
MCQ 24 The state of left cycle of a thread is
MCQ 25 POP is a/an