Advanced Java Interview Preparation Guide
Download PDF
Add New Question

Advanced Java frequently Asked Questions in various Advanced Java job Interviews by interviewer. Get preparation of Advanced Java job interview

24 Advanced Java Questions and Answers:

1 :: What we can not do in jdbc but can do hibernate?

There are many thing we can do in hinernate automaticaly by
hibernate tools or seting hibernate properties.some I
giving below:
(1) We can migrate database just change database dielect.
(2)we can used caching
(3)if user do not know ant any SQL languge then they can
use criteria query.
(4)There is one scnerio where SQL query are failed when
want fetch obejct from db but do not know there ID.
Hibernate provide this solution using HSQL.
Post Your Answer

2 :: Java is fully object oriented languages or not? Why?

No,java is not fully object oriented language because it does not support "multiple inheritence" and "pointers" which are used in C++.But,by using Interfaces we can implement multiple inheritence.Also,due to presence of Primitive datatypes,which are used in (AutoBoxing)...we can say it is not fully object oriented language.
Post Your Answer

3 :: If i learn Java, what kind of applications can i create that will help Banking, Retail, Hotel, Logistics industry?

When learned the java with the advanced concepts ,the
application can be created for all the domain.Using the
J2EE will be more friendly and efficiency in the code
maintenance, since part of the code will be from the
Post Your Answer

4 :: What is difference between object state and behavior?

If you change the state of an object, you ask it to perform
a behavior. An object stores its states in a field e.g.
variables, and demonstrates its behavior through methods.
Post Your Answer

5 :: Can we have more than one action servlet?

yes you can have and if you specify different url patter
*.do for one action servlet
*.abc for other action servlet
in your web.xml file
Post Your Answer
Add New Question