MCQ 1 Multidimensional arrays are actually ______________.

Correct Answer Choice C Arrays of arrays
See Answer

MCQ 2 A java program is first _________________and ______________.

Correct Answer Choice D interpreted, compiled
See Answer

MCQ 3 What is the priority of the Garbage collector thread of jdk?

Correct Answer Choice A Low Priority
See Answer

MCQ 4 Keyword ___________ is always a reference to the object.

Correct Answer Choice B this
See Answer


MCQ 5 Which is used to call the stored procedures and functions?

Correct Answer Choice A CallableStatement Interface
See Answer

MCQ 6 Which of the following statement is false?

Correct Answer Choice D The yield() method should be enclosed in try __ catch block.
See Answer

MCQ 7 What is the correct annotation to use to export a method as a web services operating using JAVA API for a XML based webservices (JAS-Ws), version 2.0?

Correct Answer Choice D @WSMethod
See Answer

MCQ 8 A package is a collection of

Correct Answer Choice D None of these
See Answer


MCQ 9 ____________ operators are overloaded for string objects?

Correct Answer Choice B +, =
See Answer

MCQ 10 Which constructor creates an empty string buffer with the specified capacity as length.

Correct Answer Choice C StringBuffer(int capacity)
See Answer

MCQ 11 _____________ statement is valid for array declaration.

Correct Answer Choice C float number[ ];
See Answer

MCQ 12 What is the default return type of main()

Correct Answer Choice D int
See Answer


MCQ 13 State true or false.

  • i) init() is called after start() in applet
  • ii) applets are used for networking
  • iii) inheritance is a part of Java Foundation Classes
  • v) final does not prevent inheritance
  • <

    Correct Answer Choice D i-false, ii-false, iii-false, iv-false
    See Answer

MCQ 14 What is NullPointerException?

Correct Answer Choice B A NullPointerException is thrown when object property is set as null.
See Answer

MCQ 15 Prepared Statement object in JDBC used to execute ______________ queries.

Correct Answer Choice D Parameterized
See Answer

MCQ 16 Which of the following is not mandatory in variable declaration?

Correct Answer Choice C an assignment
See Answer


MCQ 17 Which of the following is true about Java.

Correct Answer Choice D All of the above
See Answer

MCQ 18 In JDBC _____________ imports all Java classes concerned with database connectivity.

Correct Answer Choice C java.sql.*
See Answer

MCQ 19 It is important feature of java that it always provides a default constructor to a class.

Correct Answer Choice C 1
See Answer

MCQ 20 __________________ is the key to _________________.

Correct Answer Choice A Serialization, persistence
See Answer


MCQ 21 In Java variables, if first increment of the variable takes place and then the assignment occurs. This operation is also called ___________________.

Correct Answer Choice A pre increment
See Answer

MCQ 22 When the operators are having the same priority, they are evaluated from ________________ in the order they appear in the expression.

Correct Answer Choice B left to right
See Answer

MCQ 24 ______________ is a feature that allows one interface to be used for a general class of actions.

Correct Answer Choice C Polymorphism
See Answer


MCQ 24 Java support RMI. What does this RMI stands for?

Correct Answer Choice B Remote Method Invocation
See Answer


MCQ 25 Java was developed by the company

Correct Answer Choice A Sun Micro systems
See Answer

MCQ 26 _____________ keyword is used to invoke the current object.

Correct Answer Choice C This
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