What is main in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is a string token?
Can we start a thread twice in java?
What is JIT ?
Why hashset is used in java?
Differentiate between == and equals().
How many types of the indexof method are there for strings?
Why do we use public static with the main function in Java?
13 Answers College School Exams Tests, Infosys,
Why parameters should be passed by reference?
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?
What is the difference between serializable and externalizable interface?
What are the methods to rectify ambiguities in the interfaces in JAVA?
What is an event?