Question
plz choose right answer an explain 1. The ________ method is called when the servlet is first created, and is not called again as long
plz choose right answer an explain
1. The ________ method is called when the servlet is first created, and is not called again as long as the servlet is not destroyed. a) Destroy b) Init c) Service d) getServletInfo 2. The Data Access Object pattern (DAO) ___________________________. a) helps with the design of GUI programs. b) abstracts the database access logic out of a domain class c) is a Gang of Four patterns d) is a simple way of creating a data access component 3. Which of the following are NOT interfaces? a) DriverManager b) Connection c) ResultSet d) Statement 4. Java data types are the same as the data types used in the database. a) True b) False 5. Design patterns ____________. a) are proven ways for implementing behavior that help increase cohesion and reduce coupling. b) are elegant ways for writing code c) cannot be implemented in Java. d) only apply to C++.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started