Java MCQ Questions for Placement

Q.  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?

a. Client Request Time Processing Errors
b. Compilation Time Processing Errors
c. JSP Translation Time Processing Errors
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Where are the following four methods commonly used? 1) public void add(Component c) 2) public void setSize(int width,int height) 3) public void setLayout(LayoutManager m) 4) public void setVisible(boolean)
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method when implemented must return true while there are still more elements to extract, and false when all the elements have been enumerated?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  From the following statements which is a disadvantage of an java array?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The PipedInputStream and PipedOutputStream classes can be used to read and write data simultaneously.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method returns the interrupted flag after that it sets the flag to false if it is true?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Unchecked exceptions are checked at compile-time rather they are checked at runtime.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Struts supports which of these model components?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term POJO?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which of the following is not used to seek a file pointer?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  During dynamic memory allocation in CPP, new operator returns _________ value if memory allocation is unsuccessful.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  We can create objects of the abstract class.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the followings is/are pointer-to-member declarator?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Default value of static variable is_____ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  ________ are used to format the data display in CPP.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Reusability of the code can be achieved in CPP through ______ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  By default, members of the class are ____________ in nature.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is CPP style type-casting?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If a program uses Inline Function, then the function is expanded inline at ___________.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In CPP, the size of the character array should be one larger than the number of characters in the string.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is/are valid ways to allocate memory for an integer by dynamic memory allocation in CPP?
Category: Computer Science MCQs,   Published by: T-Code Scripts