How java uses the string and stringbuffer classes?
No Answer is Posted For this Question
Be the First to Post Answer
What are heterogeneous objects?
Why javac is not recognized?
What is the use of optional ?
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 are the Abstract Classes provided by Java?
What is the use of join method?
Explain about the security aspect of java?
why the equals method can be override?when we override the equals method?
What is a class component?
Difference between hashCode() & equals()?
If goto and const is reserve words than why it is not work in java?
Can a class inherit the constructors of its superclass?