| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| when asub class inherits a super class and overrides a
public method of super class in sub class(public method in
super class).
why these methods needs to be public in sub class.
(otherwise compile time error). | | 2 |
| What is the Set interface? | | 2 |
| class A
{
class B
{
psvm(String args[])
{
}
}
}
if the prg saved in A.java whats the o/p? | HCL | 5 |
| Explain the concept of polymorphism with examples? | | 4 |
| How will you create the class for the following scenario?
Employees under one employee?
| Bally-Technologies | 2 |
| Difference between Superclass and Subclass? | | 2 |
| Difference between JDK, JRE, JVM | Oracle | 5 |
| we have two threads..both the threads are reading the
data.. is there any need of synchronization
there?...justify it? | IBM | 4 |
| How do you load an HTML page from an Applet ? | | 2 |
| what is mean by overriding in which situation we wil use? | Atlas-Systems | 4 |
| waht happens when a return type ,even void is specified for
a constructor? | | 10 |
| In real time project which driver did u use? What is the
main functionality of the Prepared Statement? | Photon | 1 |
| when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise? | | 5 |
| How many bits are used to represent unicodde,ASCII,UTF-16
and UTF-8 characters? | | 2 |
| what is difference between excute query ()and execute update
()? | Symphony | 5 |
| what is the use of declaring constructor as private? | Sai-Softech | 3 |
| What is the difference between jsp and servlet? | Symphony | 5 |
| what are Checked & Unchecked exceptions ? | | 2 |
| How to convert a string to long? | | 2 |
| What JNDI(Java Naming and Directory Interface) provides? | | 4 |
| |
| For more Core Java Interview Questions Click Here |