Basic Java Multiple Choice Questions with Answers - 1
Question: 1
Which of the following is/are true about J2EE?
a. J2EE stands for Java 2 Enterprise Edition
b. J2EE is an environment for developing and deploying enterprise applications
c. J2EE specification is defined by Sun Microsystems Inc
d. The J2EE platform is one the best platform for the development and deployment of enterprise application.
(A) both a and b
(B) both a and c
(C) both a, b and c
(D) all
Ans: D
all
Question: 2
Which enterprise bean type is defined without any client view interfaces?
(A) Message Driven Bean
(B) BMP Entity bean
(C) Stateless Session bean
(D) Stateful Session bean
Ans: A
Message Driven Bean
Question: 3
Which of the following modifiers cannot be applied to a method?
(A) protected
(B) private
(C) public
(D) abstract
Ans: D
abstract
Question: 4
Which JDBC driver type is also referred as the java protocol?
(A) type 1 JDBC to ODBC protocol
(B) type 2 java 1 native code driver
(C) type 3 JDBC driver
(D) type 4 JDBC driver
Ans: C
type 3 JDBC driver
Question: 5
Which of the following is not a standard method called as part of the JSP life cycle?
(A) jspDestroy()
(B) jsp Init()
(C) jspService()
(D) jspservice()
Ans: D
jspservice()
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
Strength of Materials Questions and Answers Pdf More
100+ Analogy Questions and Answers for Competitive Exams More
1000+ Working with Tables Questions and Answers More
7000+ Digital Electronics MCQ Quiz Questions and Answers Pdf More
1000+ Railways Airports Docks and Harbour Engineering MCQ Questions More
Zoology Question Bank More