| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is synchronization
| | 3 |
| What is the GregorianCalendar class? | HCL | 1 |
| What is meant by final class, methods and variables? | | 2 |
| Given:
11. public static void main(String[] args) {
12. Integer i = uew Integer(1) + new Integer(2);
13. switch(i) {
14. case 3: System.out.println(”three”); break;
15. default: System.out.println(”other”); break;
16. }
17. }
‘What is the result?
1 three
2 other
3 An exception is thrown at runtime.
4 Compilation fails because of an error on
line 12.
| | 2 |
| what is the difference between sleep() and Wait()? | Accenture | 4 |
| In what type of containers, Border layout is a default
layout? | | 3 |
| What is the minimum and maximum length of an identifier? | TCS | 6 |
| what is the use of private constructor in core java? | Satyam | 3 |
| Difference between Superclass and Subclass? | | 2 |
| what is difference betwwen hashmap and hashtable ? | Fidelity | 6 |
| hi to all. well can you please tell me that why String class
is immutable?
Thanks in advance. | Huawei | 3 |
| Can u write constructor in abstract.If yes den when it will
be invoked. | SunGard | 3 |
| What is the superclass of exception? | | 2 |
| what is difference between abstraction and interface?
| FIC | 6 |
| Instead of writing Home, Remote Interfaces if i directly
extends EJBObject to bean class what happens?
| Flextronics | 1 |
| Which of these methods belong to Thread & Object class?
join, yield, sleep, wait, notify | Ericsson | 2 |
| What is the Vector class? | | 3 |
| Need 2+ yrs experienced java techinical question papaer for
company Iflex | | 1 |
| What is file class and what is its purpose? | | 1 |
| What Method and class used for Connection pooling ? | Wipro | 4 |
| |
| For more Core Java Interview Questions Click Here |