You are on page 1of 1

CORE JAVA:

1.
When do we prefer List, Set and Map?
2.
What are the differences between Hashmap and Hashtable?
3.
What are the differences between ArrayList and LinkedList?
4.
Explain all OOPS concepts?
5.
Explain about Access Modifiers and their scope?
6.
Explain how we will create a JDBC connection step by step with syntax?
7.
What is the difference between overloading and overriding?
8.
In how many ways we can create the thread? which one is better? What is
the difference?
9.
Explain the thread life cycle?
10. What is the significance of keywords final, static, transient and volatile
?
11. What is synchronization? Why we need to go for synchronization?
12. Difference between String, StringBuffer and StringBuilder?
13. Questions related to multilevel and multiple inheritances?
14. Questions from inner classes?
15. What will happen if System.exit(0) is placed in the code?
16. What are the different ways to terminate the program without executing fin
ally block?
17. What is serialization?
18. Can we define a class inside interface and vice versa? Give one example?
19.
What is arithmetic exception?
20. What is class loading?
21. What is the difference between == and .equals method in String?
22. Different types of memories in java?
23. Explain static keyword with example?
24. How to make any object immutable in Java?
25. What is deadlock and how we can avoid it?
26. Can we overload/Override main method?
27. How to desirable date format in Java?
28. Can we create object to interface?If yes How? If no why?
29. Will the finally block executes,if a return statement is placed inside try
block?
SQL:
1.
How to find max salary in employee table
2.
How to find maximum salary in employee table department wise
3.
How to find duplicates in a table?
4.
Differences between PrimaryKey and Foreign Key?
5.
Differences between PrimaryKey and Unique key?
6.
What is indexing?
7.
How Indexing is implemented over the table on select query if we are us
ing partial columns of composite primary key.
8.
How to check whether a date column is in desirable format or not?
9.
How to get only date of a given Date and time column

You might also like