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 / ravindra
true
true
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
Can you call one constructor from another if a class has multiple constructors?
What about main() method in java ?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What are static blocks in java ?
What is logical variable?
What is the use of callablestatement?
What does the “static” keyword mean?
How do weakhashmap works?
What do you mean by a JVM?
what is object-oriented programming in java?
What is a parameter in simple terms?
Is Java a dying language?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What are data types in programming?
Can you declare an interface method static?