| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| When is an object in the mean to garbage collection? | | 3 |
| what is dynamic method dispatch ? | Fidelity | 8 |
| What is the difference between add() and addElement()
method in Vector Class ? | TCS | 2 |
| What is JIT ? | Satyam | 4 |
| os is developed in c no
java is more secured then c na
why dont the os developed is developed using java | | 1 |
| Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance. | | 1 |
| Does garbage collection guarantee that a program will not
run out of memory? | | 1 |
| What are Transient and Volatile Modifiers? | | 1 |
| which methods consisting of the serilizable interface? | | 3 |
| Can you run the product development on all operating
systems ? | | 1 |
| By what default value is an object reference declared as an
instance variable? | Wipro | 1 |
| If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface? | Synechron | 4 |
| Does a class inherit the constructor of its super class?if
it does, how can you hide that constructor? if it doesnot
how can you call it from the sub class? | | 1 |
| they asked class A{}
class B{}
class c{}
all the three class saved as a single file,there is no main
method in the file
and anothe class
M.java
class m
{
psvm(String args[])
{
// here the parent class can access
}
}
| DNS | 1 |
| Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed? | | 1 |
| class A
{
class B
{
psvm(String args[])
{
}
}
}
if the prg saved in A.java whats the o/p? | HCL | 3 |
| What is Map interface? | Wipro | 2 |
| what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this | | 6 |
| Difference between ?System.out.println?
and ?System.error.println?? | Sai-Softech | 2 |
| Why Wait and notify are kept in Object class although they
are used only with Thread Class | | 2 |
| |
| For more Core Java Interview Questions Click Here |