MCQ 1 An RMI Server is responsible for ______________.

Correct Answer Choice D All mentioned above
See Answer

MCQ 2 Java supports RMI, RMI Stands for?

Correct Answer Choice C Remote Method Invocation
See Answer

MCQ 3 In an object oriented programming

Correct Answer Choice A Class create objects
See Answer

MCQ 4 For execution of DELETE SQL query in JDBC, ________________ method must be used.

Correct Answer Choice C executeUpdate()
See Answer


MCQ 5 State whether true or false.

  • i) init( ) of servlet is called after a client request comes in
  • ii) Servlets are ultimately converted into JSP
  • <

    Correct Answer Choice A i-false, ii-false
    See Answer

MCQ 6 Break statement is used to

  1. get out of method
  2. end aprogram
  3. get out of a loop
  4. get out of the system
  5. <

    Correct Answer Choice D 3
    See Answer

MCQ 7 ____________ of a remotely accessible object must implement _______________.

Correct Answer Choice C class, RemoteInterface
See Answer

MCQ 8 State true or false.

  • i) Jpanel is a class included in awt package.
  • ii) Anonymous classes are mostly used for event handling.
  • iii) Names of anonymous classes must be unique
  • iv) JOptionPane is an inner class
  • <

    Correct Answer Choice C i-false, ii-true, iii-false, iv-false
    See Answer


MCQ 9 What is the file extension of compiled java program?

Correct Answer Choice A .class
See Answer

MCQ 10 Consider the statement “x=(a>b)?a:b”, then the value of x is 19, if a=19 and b=12

Correct Answer Choice A 1
See Answer

MCQ 11 Which kind of driver converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, IBM DB2, or other DBMS?

Correct Answer Choice B Native-API partly-Java driver
See Answer

MCQ 12 Java

Correct Answer Choice D All of these
See Answer


MCQ 13 By invoking repaint ( ) for a component, the AWT invokes the method

Correct Answer Choice A Update ( )
See Answer

MCQ 14 Which defines a method called nextElement that is used to get the next element in a data structure that contains multiple elements?

Correct Answer Choice D Enumeration
See Answer

MCQ 15 Which one of the following methods cannot be used to draw the outline of a square?

Correct Answer Choice C Draw string( )
See Answer

MCQ 16 The java variable is/are

Correct Answer Choice D All of these
See Answer


MCQ 17 Java's coordinate system has the origin (0, 0) in the

Correct Answer Choice D Upper left corner
See Answer

MCQ 18 The methods wait ( ) and notify ( ) are defined in

Correct Answer Choice D JavLang. object
See Answer

MCQ 19 Object oriented programming language, is

Correct Answer Choice C Both A and B
See Answer

MCQ 20 ________________ must be the first non comment statement in the file

Correct Answer Choice A package
See Answer


MCQ 21 A private class is accessible from inside a __________________.

Correct Answer Choice A package
See Answer

MCQ 22 Byte code is also a ________________.

Correct Answer Choice A machine code
See Answer

MCQ 23 The correct statement from the following is/are

Correct Answer Choice D All of these
See Answer

MCQ 24 Which one of the following concept is incorporated in building a java program?

Correct Answer Choice D All of these
See Answer


MCQ 25 Which provides accessibility to classes and interface?

Correct Answer Choice A import
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