Can we use a default constructor of a class even if an explicit constructor is defined?
No Answer is Posted For this Question
Be the First to Post Answer
How infinite loop is declared?
What are the advantages of unicode?
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 meaning of JIT?
What is natural ordering in java?
What is a priority queue 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 ?
Why are strings immutable in Java?
How do I get the | symbol on my keyboard?
What does three dots mean in java?
What is return null in java?
What is java dot?