Explain an intermediate language?
No Answer is Posted For this Question
Be the First to Post Answer
Will the jvm load the package twice at runtime?
What is the exception hierarchy in java?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
How do you sort in java?
What are the java ide’s?
What is set in java?
What is Unicast and Multicast object? Where we will use?
1 Answers Scope International,
If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }
What flag up means?
What are the Abstract Classes provided by Java?
Any one can explain how the inerface uses in java. give with example.