Advanced Java Questions and Answers
Download Advanced Java eBook

Download PDF Download Advanced Java Questions eBook

Advanced Java Questions and Answers: Submit Your Question

Q - 1 In spring bean class uses singleton or prototype?

Ans- By Default spring uses singleton or mention singleton="true" for singleton else false for prototype inside bean tag.
Is This Answer Correct?    7 Yes 1 No
Submit Your Answer

Q - 2 What is prototype?

Ans- Having multiple instances or having clones
Is This Answer Correct?    2 Yes 8 No
Submit Your Answer

Q - 3 Explain servlet life cycle?

Ans- init(),service(),destroy()
Is This Answer Correct?    11 Yes 1 No
Submit Your Answer

Q - 4 What is jsp life cycle?

Ans- jspinit(),_jspService(),jspdestroy()
Is This Answer Correct?    10 Yes 1 No
Submit Your Answer

Q - 5 What is AOP(assepct oriented programing)?

Ans- Separating your business logic with other functionalit
y such as services,Loggers etc,Making classess more cohesive.
Is This Answer Correct?    7 Yes 1 No
Submit Your Answer

Place Your Question