What is java util hashmap?
No Answer is Posted For this Question
Be the First to Post Answer
What is the life-cycle of an object?
Can we use a switch statement with strings?
Give a brief description of java socket programming?
What the difference is between execute, execute Query, execute Update?
State the significance of public, private, protected class?
java program with complete 4 oops concepts implemented example
What is non static block in java
10 Answers Emphasis, Ness Technologies,
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 does you mean in math?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is lifetime variable?
What are order of precedence and associativity, and how are they used?