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
Industrial Cluster in Tamil Nadu TNPSC Questions Pdf More
Food and Security TNPSC Questions Pdf More
Economics Food Security and Nutrition Class 10 Questions Pdf More
Class 10th Social Indian Constitution Pdf More
TNPSC Indian Constitution Questions and Answers Pdf More
Force and Motion MCQ Quiz Questions and Answers Pdf More
Hydro Electric Power Projects in India Gk Questions and Answers More
7000+ World Gk Questions and Answers 2024-2025 Pdf More
Choose the Correct and Incorrect Sentence Questions & Answers More
1000+ Chemical Engineering Multiple Choice Questions and Answers More