| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| When finalize method is called? | | 3 |
| what is private constructor?what are the uses of writing
private constructor in our program? | | 5 |
| what is the diff between Servletcontext and servletconfig? | | 5 |
| What is the return type of read()? | | 2 |
| can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...} | | 4 |
| why marker interfaces are there in java | Digital-Group | 3 |
| What are the similarities between an array and an ArrayList? | | 2 |
| Consider that class classA, abstract class classB, and
final classC have been defined.Which one of the following
is correct?
1. classA extends classC implements classB
2. class A extends classB, classC
3. classA extends classB
4. classB implements classC | | 1 |
| We have two methods to create methods the threads.
1. Implementing runnable interface
2. Extending to thread class and overriding run method.
Among these two which one is better and why?
Please explain me in detail. | | 2 |
| I have a Person object with 5 variables and I want to store
them in a file called Person.txt. What should I do? | KPIT | 3 |
| can we create instance for interface in java? | | 2 |
| Hi Friends..
can any one provide the real time example for
methodoverloading and methodoverriding ......... | Honeywell | 2 |
| Explain the difference between scrollbar and scrollpane? | | 1 |
| Name the types of mouse event listeners ? | | 2 |
| what is the difference between cd & dvd ? | Satyam | 12 |
| Is it possible to create Userdefined Unchecked Exception
also?If Yes, give an example? | | 2 |
| what is life cycle of applet? | | 4 |
| 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 |
| wahts is mean by thread? | HCL | 14 |
| what is aberivation of java? | | 10 |
| |
| For more Core Java Interview Questions Click Here |