This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Here are some questions may help in your interview :-- CoreJava :-- 1.In a java source file how many top level classes you can have with public accessibility ? 2. What is difference between a class and an object of that class. 3. Accessor modifiers like public, protected, private, what are they and their differences? 4. What do you mean by static members and instance members ? 5. Explain Inheritance, Polymorhism, and dynamic method look up ? 6. String and StringBuffer ? 7. How many classes can be extended by a subclass ? 8. Can an Interface Implements another Interface ? 9. What do you know about the following keywords of Java abstract, final 10. How do you make a class to be singleton. 11. Try, Catch and finally 12. When to make your code synchronized.
JDBC : 1. What does ClassForName do for you in JDBC? 2. Statement and prepared Statement difference ? 3. Describe the steps to access any Relational Database from your program. 4. What is the return type of ExcuteQuery(statement) method. 5. How do you fetch records one by one from the result of execution of a Query ? 6. What is a transaction and what methods of which class are being used to do and undo your action within transaction. 7. How to end a connection. 8. How to get data from more than one table in a single SQL statement ? 9. Just know about these keywords of SQL - select, insert, update, delete, union, distinct, IN, ANY, NOT, like, Avg, sum, group by, order by, having, count()... ?
JSP 1. Syntax of import, useBean and scope. 2. Include action and include directive. 3. How do you pass the content of a request from one jsp to another jsp page. 4. What is JSP life cycle ? 5. What are JSP's implicit Objects available to the programmer ?
Hope this will help you to prepare for your interview. kb