Web Design and Development MCQs with Answers
Practice important Web Design and Development MCQs with answers and explanations.
Multiple Choice Questions
Q111: What type of exception must be caught or declared in a method signature?
- A: Unchecked Exception
- B: Checked Exception
- C: Runtime Exception
- D: Error
View Answer
B
Q112: Exceptions must be handled while handling files otherwise it may lead to _____
- A: Logical error
- B: Syntax error
- C: Run-time error
- D: No error
View Answer
C
Q113: Which of following can be thrown using the throw statement?
- A: Error
- B: Throwable
- C: Exception
- D: RuntimeException
View Answer
B
Q114: ____________is/are the JSP Implicit Object(s).
- A: session
- B: application
- C: config
- D: All of Given
View Answer
D
Q115: JavaBeans are?
- A: A special Java class file
- B: Servlets
- C: Applets
- D: A Special form of JSP
View Answer
D
Q116: Overloading is _______ whereas overriding is _____
- A: Run time binding, compile time binding
- B: Late binding, compile time binding
- C: Compile time binding, run time binding
- D: Run time binding, late time binding
View Answer
C
Q117: Static methods only access ___
- A: instance variable
- B: instance method
- C: static variables and methods
- D: both static and instance members
View Answer
C
Q118: Which of the following is modifier is provided by default if no access is written explicitly?
- A: public
- B: Private
- C: Protected
- D: Default
View Answer
D
Q119: Which of the following is used for inheritance in java?
- A: implements
- B: extends
- C: : (colon)
- D: inherit
View Answer
B
Q120: A collection can store..........
- A: Homogenous objects
- B: Heterogeneous objects
- C: Objects as well as primitive values
- D: At most 100 objects
View Answer
B