How do you include a string in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can we create our own wrapper class in java?
What is a numeric string?
Which keyword specify that a variable is effectively final ?
Explain restrictions for using anonymous inner classes?
What is the return type of the main method?
If two threads call a static method at the same point of time, what will happen?
Can we declare the static variables and methods in an abstract class?
What is a void method java?
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?
Does .length start 0 java?
Can a class be subclass of itself?
How to change the priority of thread or how to set the priority of thread?