MCQ 1 Which one of the following is not a java keyword?

Correct Answer Choice D Study
See Answer

MCQ 2 Which Error Handling in Java handles runtime errors with exceptions, If an exception is not caught in your JSP or Servlet, Resin will use a special error page to send results back to the browser, Resin uses a default error page unless you explicitly provide an error page yourself?

Correct Answer Choice A Client Request Time Processing Errors
See Answer

MCQ 3 Java declaration statement must end with

Correct Answer Choice C A semicolon
See Answer

MCQ 4 Which is used for reading streams of raw bytes such as image data and for reading streams of characters,consider using FileReader?

Correct Answer Choice A FileInputStream
See Answer


MCQ 5 Which mechanism is used when a thread is paused running in its critical section and another thread is allowed to enter (or lock) in the same critical section to be executed?

Correct Answer Choice A Inter-thread communication
See Answer

MCQ 6 _____________ is used for initialize the value to the string object.

Correct Answer Choice B String literals
See Answer

MCQ 7 Which of the following will produce a value of 22 if x=22.9?

Correct Answer Choice C rint(x)
See Answer

MCQ 8 Which of the following will produce a value of 22 if x=22.9?

Correct Answer Choice C rint(x)
See Answer


MCQ 9 The default package that is implicitly called in a java program is _____________.

Correct Answer Choice A java.Lang
See Answer

MCQ 10 Which of the function is used to convert string to Number in java program?

Correct Answer Choice C valueOf()
See Answer

MCQ 11 Preparedstatement Object in JDBC is used to execute __________________ queries.

Correct Answer Choice D parameterized
See Answer

MCQ 12 The command javac

Correct Answer Choice A Converts a java program into binary code
See Answer


MCQ 13 Each method in a java class must have a unique name.

Correct Answer Choice A Not necessary
See Answer

MCQ 14 Object is an ___________ of class.

Correct Answer Choice A instance
See Answer

MCQ 15 ______________ is valid for if statement?

Correct Answer Choice B A Boolean expression
See Answer

MCQ 16 Wrapper class is a wrapper around a ___________ data type.

Correct Answer Choice C primitive
See Answer


MCQ 17 Abbreviate the term DGC?

Correct Answer Choice B Distributed Garbage Collection
See Answer

MCQ 18 Abbreviate the term DGC?

Correct Answer Choice B Distributed Garbage Collection
See Answer

MCQ 19 Which one of the following languages is suitable to implement the OOP concepts?

Correct Answer Choice D All of these
See Answer

MCQ 20 Which Set implementation is sorted and synchronized?

Correct Answer Choice D ConcurrentSkipListSet
See Answer


MCQ 21 Which type of validation we must implement the Validateable interface (or extend ActionSupport class) and provide the implementation of validate method?

Correct Answer Choice C By Custom Validation
See Answer

MCQ 22 ODBC stands for

Correct Answer Choice C Open Database Connectivity
See Answer

MCQ 23 Consider the following class definition. class Student extends String{ } What happens when we try to compile this class?

Correct Answer Choice D Will not compile because string is final.
See Answer

MCQ 24 Filters were officially introduced in the Servlet _____________ specification.

Correct Answer Choice B 2.3
See Answer


MCQ 25 The out object is an object encapsulated inside the _________________ class, and represents the standard output device.

Correct Answer Choice D system
See Answer

MCQ 26 Adapter classes are used for____________.

Correct Answer Choice B code reduction
See Answer

MCQ 27 ________________ is generated if a button is clicked in AWT.

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