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()
Samacheer Kalvi Class 11 Taxonomy Systematic Botany Questions More
Photosynthesis in Higher Plants MCQ Questions and Answers More
The Living World Class 11 Questions and Answers Pdf Download More
Samacheer Kalvi Class 11 Bio Botany Photosynthetic Questions More
Samacheer Kalvi Class 11 Bio Botany Cell Cycle Questions More
1000+ Building Materials and Construction Objective Questions Pdf More
Samacheeer Kalvi 9th History The Age of Revolutions Questions More
Top 40+ WPF Interview Questions and Answers Pdf 2020-2021 More
1000+ ANZ Bank Aptitude Test Questions and Answers More
1000+ Non Verbal Reasoning Questions for SSC Exams Pdf More