| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is connection pooling with example? | AMDOC | 1 |
| What is user defined exception? | | 4 |
| how many design pattern r there? and wht design pattern u
use and why ? | HP | 5 |
| Accenture NJ mostly ask question on Collection like
1)How to sort Objcts and how treeset sort them
2)Explain mechanism of Hashcode finding in Java
3)Name some of the Sorted collection. | Accenture | 2 |
| Linked List reverese program | Bally-Technologies | 1 |
| What is a layout manager? | | 1 |
| Which are thin and thicK wrapper Class's in Java? | | 1 |
| 10. class Nav{
11. public enum Direction { NORTH, SOUTH, EAST, WEST }
12. }
13. public class Sprite{
14. // insert code here
15. }
Which code, inserted at line 14, allows the Sprite class to
compile?
a)Direction d = NORTH;
b)Nav.Direction d = NORTH;
c)Direction d = Direction.NORTH;
d)Nav.Direction d = Nav.Direction.NORTH; | | 1 |
| Why do we use public static with the main function in Java? | Infosys | 7 |
| What will happens if you opened Internet Explorer 4 times? | | 2 |
| Explain the difference between the Boolean & operator and
the && operator? | | 1 |
| what is ennumaration? | AMDOC | 1 |
| What is a compilation unit? | | 2 |
| What is Transient and volatile | iFlex | 9 |
| What is a reflection package? | | 2 |
| How multipleInheritance is possible in java? | Satyam | 16 |
| What are the interfaces defined by Java.lang package? | | 1 |
| How many objects are created for a singleton class | Ness-Technologies | 4 |
| What is deadlock and how to avoid this? | | 2 |
| What is the difference between throw and throws?
What is the similarity between try and throw? | | 2 |
| |
| For more Core Java Interview Questions Click Here |