| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| class A{
m2(){
}
}
class B extends A{
m2(){
}
}
class c extends B{
m2(){
}
}
class my_class extends c{
m2(){
}
pulic static void main(){
...My_class a = new my_class();
super.super.super.m2(); is this is leagal
if not find what is the legal procedure in order to call A's
version of m2();
}
| Logica-CMG | 8 |
| Keywords in Exceptions? | | 1 |
| What are the names of interfaces that doesn't consists of
method/s ? | | 3 |
| What is Distributed Application and what is its usage? | | 1 |
| What is the % operator? | | 2 |
| what is Hashmap & Hashtable wirh example? | Saksoft | 4 |
| which one the better thread emplemented thread or extended ? | Fidelity | 3 |
| what is bytecode? watz the difference between machine code
and bytecode? | Oracle | 4 |
| what is Dictionary? and what purpose it is used for? | | 2 |
| What are the allowed, non-Unicode letter characters that
can be used as the first character of an identifier? | | 2 |
| What is the difference between a Window and a Frame? | | 1 |
| What is numeric promotion? | | 1 |
| What is meant by JVM ? | | 3 |
| What is "finally" keyword? | | 3 |
| Which method is used to find that the object is exited or
not? | | 1 |
| suppose in a class there is a code like this:
{
Set hs=new Hashset();
hs.add(new Emp("kathy",1000));
hs.add(new Emp("kathy",2000));
}
how can u avoid the above code in your class as set won't
allow duplicate objects? | | 2 |
| how can we import the user defined package without classpath?
| | 1 |
| Hai all
I want to print given array in reverse order Ex:
int a[]={1,2,3,4,5};display this array in reverse order. | | 2 |
| what is an virtual function | TCS | 2 |
| How can you take string into InputStream? | | 3 |
| |
| For more Core Java Interview Questions Click Here |