what is a thread pool in java and why is it used?
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?
What is operator?
What is a databasemetadata?
What is the purpose of default constructor?
Explain about anonymous inner classes in java?
What is a generic code?
Hi can u pls tell me what is the use of marker interface. Iknow what is marker interface but what ability will the object get by implementing this.
which of tha following is not a thread safe class? a) ArrayList b)Vector c)HashTable d)None
Can an exception be rethrown?
Is an integer an object?
What are different type of access modifiers?
What are the 2 types of java programs?