| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is Runtime class and its purpose? | | 2 |
| byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p? | Wipro | 5 |
| what is the difference between cd & dvd ? | Satyam | 11 |
| jdbc drivers? | Wipro | 7 |
| EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006. | EDS | 1 |
| what is difference between Exception and Error? | | 13 |
| write java code to print second max number in the array | Huawei | 9 |
| where u use Abstraction and Interface in real time | Sonata | 2 |
| C and C++ has constructors and distructors, why does Java
does not have distructors? | T3-Softwares | 1 |
| how to write a program for chat function using core java
| Satyam | 1 |
| What is difference between Iterator and for loop | | 4 |
| we know that every java prog must follows OOPS Principles.
Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS
CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation?
class a{
public static void main(String args[]){
System.out.println("Hello World");
}
}
| | 3 |
| Can a class inherit the constructors of its superclass? | Wipro | 7 |
| Can you call a constructor within a constructor? | | 6 |
| What is the importance in context in JDBC connection pools? | iFlex | 2 |
| what are ER diagrams? | | 2 |
| What is encapsulation? Elaborate with example? | BMC | 1 |
| What is the differnence between String Buffer and String
builder despite having knowledge that String builder is
faster than String Buffer and last one is threadsafe.please
tell another important difference. | | 3 |
| what is session facade ? | | 2 |
| why the primitive data type have classes? | | 2 |
| |
| For more Core Java Interview Questions Click Here |