| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Explain Connection Pooling? | | 3 |
| What is a default package ? | | 7 |
| Given:
1. package test;
2.
3. class Target {
4. public String name = “hello”;
5. }
What can directly access and change the value of the
variable name?
1 any class
2 only the Target class
3 any class in the test package
4 any class that extends Target
| | 3 |
| What is meant by JVM ? | | 3 |
| Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain | DNS | 6 |
| what is difference between prepare stetement and callable
starement with example? | CMC | 1 |
| Real Time sample code for Encapsulation and Abstraction.
where to use abstract and where to use specifies like
public private. | | 1 |
| 1).Is Object class abstract or not?
2).Is main method(public static void main(String args[])low
priority thread or high priority thread?
| TCS | 2 |
| To obtain design information about an object, which class
in used? | | 1 |
| what is difference between method overloading & method
overridding with example? | IBM | 2 |
| Can an unreachable object become reachable again? | | 3 |
| When try and catch block is used ? | | 6 |
| What are the limitations for static method? | | 3 |
| How GUI component handle its own events? | | 1 |
| what is a thread? | IBM | 10 |
| what is meant by serialization? | | 6 |
| wht is mean by dirty read? | | 1 |
| For which statements we use a label? | Wipro | 3 |
| Explain method overloading and overriding? | | 6 |
| What is lazy activation? | CMC | 1 |
| |
| For more Core Java Interview Questions Click Here |