Java - Interview Questions and Answers for 'Adp' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2098 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Label / Company      Label / Company / Text

   



ADP


   




Interview Questions and Answers for 'Adp' - 11 question(s) found - Order By Newest

 Q1. What are the design considerations while making a choice between using interface and abstract class ?Core Java
Anonymous
Ans. Keep it as a Abstract Class if its a "Is a" Relationsship and should do subset/all of the functionality. Keep it as Interface if its a "Should Do" relationship.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   oops   abstract classes   interfaces   advanced     ADP  AI corporation


 Q2. What is a cloneable interface and what all methods does it contain?Core Java
Admin
info@buggybread.com
Ans. Cloneable is a declaration that the class implementing it allows cloning or bitwise copy of it's object state. It is not having any method because it is a MARKER interface.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   oops   cloneable   marker interface     ADP


 Q3. What are the benefits of using Prepared statements ?Database2017-03-09 11:32:07

Ans. 1. Precompilation , DB-side caching and reuse of same execution plan leads to overall faster execution.

2. Automatic prevention of SQL injection attacks by escaping special characters

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     Prepared statements  benefits of prepared statements     ADP

Try 1 Question(s) Test


 Q4. What are the benefits of using prepared statements ? Does that benefit extend only if similar prepared statements are used within a application or it extends even with multiple applications having similar prepared statement ?Database2017-03-09 11:33:25

Ans. Prepared Statements helps in reuse of database execution plan which can be cached at Database level and hence helps achieving faster execution and performance. As cached ps objects are creating at Database level and not application level, the use and benefit extends across multiple applications.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     Prepared statements  benefits of prepared statements     ADP

Try 1 Question(s) Test


 Q5. Where the prepared Statement object creating - In Java application or DB ?Database2017-03-09 11:33:57

Ans. Prepared Statement objects are created and cached at database level.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     Prepared statements     ADP

Try 1 Question(s) Test


 Q6. What are the types of Executor Interfaces ?Core Java2017-03-09 11:37:29

Ans. Executor - Simple Interface that supports launching new tasks.

ExecutorService - Subinterface of Executor, which adds features that help manage the lifecycle, both of the individual tasks and of the Executor itself.

ScheduledExecutorService - Subinterface of ExecutorService, supports future and-or periodic execution of tasks.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     Executor Interfaces     ADP


 Q7. What are the core interfaces in Hibernate?Hibernate2017-03-09 11:37:41

Ans. Session,SessionFactory,Configuration,Transaction,query and Criteria

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     core interfaces of Hibernate     ADP        frequent

Try 1 Question(s) Test


 Q8. If two Interfaces have same Method, how to handle that Method in a Class implementing these two Interfaces?Core Java2017-03-09 11:37:59

Ans. It doesn't matter how you define that method in implementing class. there will be only one definition provided and that method can be accessed using reference of either of the interfaces.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve          ADP


 Q9. Which type of EJB can use bean pooling?Java EE2017-03-09 11:38:12

Ans. Stateless Session Beans

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     EJB  java beans     ADP



Do you think these are the Best Java Frameworks ?

OpenXavaSPRING MVCApache StripesCheck everything
that is Best in Java

Click Here



 Q10. Difference between Include Directive and include action in jspJava EE2017-03-09 11:38:45

 This question was recently asked at 'ADP'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     JSP  include directive  include action     ADP


 Q11. Difference between import and include directive in jspJava EE2017-03-09 11:39:09

 This question was recently asked at 'ADP'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     JSP  import and include directive in jsp     ADP




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

2 person from are looking for questions for 'Adp'. Connect with them to better prepare for your interview.Click here and post a message

ADP: Following questions were asked how can execute ... Anonymous

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: