| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Which of the following can be referenced by a variable?
A. The instance variables of a class only
B. The methods of a class only
C. The instance variables and methods of a class | | 2 |
| How to synchonise HashMap | IBM | 3 |
| Which is the best way to use for String concatenation in
Java? | HCL | 5 |
| what is the difference between HashMap And HashTable? | Hexaware | 3 |
| what is difference betwwen hashmap and hashtable ? | Fidelity | 6 |
| how to handled exceptions & erros in ejb? | Satyam | 1 |
| What are the common problems you have faced while
implementing Java? | | 1 |
| Explain about Superclass and Subclass? | | 4 |
| can u override the start() method of Thread class | | 4 |
| What do you mean by Remote procedure call? | | 2 |
| what is the difference between statis block and static
variable | | 5 |
| what is diff bet iterator and enumeration? | | 2 |
| Have you used any version control ? if so explain about it? | | 1 |
| what is overloading and overriding with example? | CMC | 1 |
| How will you override default serialization mechanism in java | | 1 |
| 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 |
| Life Cycle of Thread | IBM | 3 |
| Why all programming languages have main as a execution
starting point? | | 2 |
| Explain, why the constructor is required in implemented
class? | | 2 |
| what is jdk1.5 features? | Virtusa | 2 |
| |
| For more Core Java Interview Questions Click Here |