Can we define package statement after import statement in java?
No Answer is Posted For this Question
Be the First to Post Answer
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?
Is an integer an object?
what is the difference b/w design pattern and architecture
What is the difference between conversation & casting?
Can we declare array without size in java?
Explain importance of finally block in java?
where can we get jAVA project orientation traing in HYDERABD
What is a variable in java?
What does percent mean in java?
When do you call copy constructor?
0 Answers Tavant Technologies, Virtusa,
What is the difference between choice and list?
What is a protected void?