| Other Core Java Interview Questions |
|| Asked @
|Consider that class classA, abstract class classB, and
final classC have been defined.Which one of the following
1. classA extends classC implements classB
2. class A extends classB, classC
3. classA extends classB
4. classB implements classC
|How to extract HashMap values?
|What are Inner classes?
|If I will write
String s=new String("XYZ");
String s1=new String("XYZ");
This program will give me "True".
But When I am creating my own class suppose
public Employee(String name);
Employee e= new Employee("XYZ");
Employee e1 = neew Employee("XYZ");
Then it will give the output as "False".
Can I know what is happening internally?
|can u override the start() method of Thread class
|java is puerly object oriented or not ?
|what is synchronization
|Explain about Superclass and Subclass?
|What is numeric promotion?
|what is mean by overriding in which situation we wil use?
|What is the difference between static and non-static
|What is non static block in java
|For more Core Java Interview Questions Click Here |