public class Test
{
public static void main(String ar[])
{
Integer a = 10;
Integer b =10;
Integer c = 145;
Integer d = 145;
System.out.println(a==b);
System.out.println(c==d);
}
}
Answer Posted / ravi
using "Singletone Design pattern" we can prevent class creating multiple objects.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Enlist few advantages of inheritance?
Can Exception handling we can handle multiple catch blocks?
What do you understand by the term singleton?
Can a main method be declared final?
How do you create immutable object in java?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
Difference between == and .equals() ?
What is a layout manager and what are different types of layout managers available in java awt?
What 4 doubled?
What are the main concepts of oops in java?
Explain access modifiers in java.
What is a arraylist in java?
What is the use of jtable?
What are the main uses of the super keyword?
Explain the importance of join() method in thread class?