Advanced Java Multiple Choice Questions with Answers - 1
Question: 1
Which of the following is not a kind of exception that is thrown by JDBC method?
(A) SQL Exception
(B) DataRounding
(C) DataTruncation
(D) SQL Warning
Ans: B
DataRounding
Question: 2
Which of the following could be written with little knowledge of java?
(A) Java Server Pages
(B) Java Servlets
(C) Common Gateway Interface
(D) Java Community Program
Ans: A
Java Server Pages
Question: 3
Which of the following is a business component in J2EE?
(A) Enterprise Java Beans (EJB)
(B) Java servlet and JSP (Web)
(C) Applets
(D) Application clients
Ans: A
Enterprise Java Beans (EJB)
Question: 4
Which of the following is the main drawback of CGI?
(A) Interfacing with corporate infrastructure
(B) Dynamic web pages
(C) Resource Intensive
(D) Scalability
Ans: D
Scalability
Question: 5
Which of the following modifiers can be applied to a constructor?
(A) volatile
(B) final
(C) private
(D) abstract
Ans: C
private
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
1000+ General English MCQs Questions and Answers More
7000+ Metallurgical Engineering MCQ Questions and Answers More
7000+ Question Tags Exercises with Answers Pdf More
1000+ Railway Engineering Multiple Choice Questions and Answers Pdf More
1000+ Energy Conversion & Transformation MCQ Questions and Answers More