MCQ 1 How can we identify whether a compilation unit is class or interface from a .class file?

Correct Answer Choice A Java source file header
See Answer

MCQ 2 The jdb is used to

Correct Answer Choice B Debug a java program
See Answer

MCQ 3 The _______________ and _________________ classes are abstract classes that support reading and writing of byte streams.

Correct Answer Choice B inputstream, outputstream
See Answer

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.

Correct Answer Choice C i × True, ii × False
See Answer


MCQ 5 The new operator dynamically allocates ______________ for an object and returns a reference to it.

Correct Answer Choice C memory
See Answer

MCQ 6 Each method in a java class must have a unique name

Correct Answer Choice B 1
See Answer

MCQ 7 All java classes are derived from

Correct Answer Choice C java.lang.Object
See Answer

MCQ 8 Which component is responsible for converting bytecode into machine specific code?

Correct Answer Choice A JVM
See Answer


MCQ 9 Which of the following do not represent legal flow control statements?

Correct Answer Choice C exit();
See Answer

MCQ 10 If a variable is declared FINAL, it must include _________________ value.

Correct Answer Choice C initial
See Answer

MCQ 11 In java RMI, stub is located in

Correct Answer Choice C server
See Answer

MCQ 12 ______________ is the wrapper class.

Correct Answer Choice C Vector
See Answer


MCQ 13 The string is defined in ______________ name space.

Correct Answer Choice A java.Lang
See Answer

MCQ 14 _______________ is passed to a method by use of call by reference.

Correct Answer Choice B Objects
See Answer

MCQ 15 Which of the following is not keyword?

Correct Answer Choice A NULL
See Answer

MCQ 16 System.in.read() is being used, the program must specify the _______________ clause.

Correct Answer Choice C throws.java.io.IOException
See Answer


MCQ 17 The _________________ looks only for a match between the value of the expression and one of its case constants.

Correct Answer Choice C switch
See Answer

MCQ 18 The most common problem of writing a java program is

Correct Answer Choice D All of these
See Answer

MCQ 19 The bitwise AND operator is represented by a single ampersand (&) and is surrounded on both sides by

Correct Answer Choice A Integer expression
See Answer

MCQ 20 What are the exceptions which have to be handled in a RMI client program?

Correct Answer Choice D All mentioned above
See Answer


MCQ 21 Which of the following is an advantage of the statement – Separation of business logic from JSP ?

Correct Answer Choice A Custom Tags in JSP
See Answer

MCQ 22 The java variable is/are

Correct Answer Choice D All of these
See Answer

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?

Correct Answer Choice B Instance variables
See Answer

MCQ 24 The state of left cycle of a thread is

Correct Answer Choice D All of these
See Answer


MCQ 25 POP is a/an

Correct Answer Choice A Object oriented programming
See Answer

NTSE, NEET, AIEEE, Olympiad & Other Competive Exams Preparation

Publish Your Article / Write for Us

Article Writing Guide/Help

Trending Questions


Advantages Of NCERT, CBSE & State Boards Solutions For All Subjects

  • All the NCERT Solutions have been prepared by academic experts having 10+ years of teaching experience.
  • They have prepared all the solutions in simple and easy language, so that each and every student can understand the concepts easily.
  • All the solutions have been explained step to step wise in details with better explainations.
  • Students can also use these question and answers for your assignments and in homework help.
  • All the solutions have been explained in detail and the answers have been compiled in a step-wise manner.
  • All the question and asnwers are commonly prepared according to the Latest Syllabus of Board Education and Guidelines.
  • Students can know about the various types of questions asked in the exams with the help of these solutions.

Top Course Categories