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 / satish
true
true
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What are the restriction imposed on a static method or a static block of code?
What is a values collection view ?
What is sleep method?
What is the difference between static and non-static variables in java programming?
How many static init can you have?
Give few difference between constructor and method?
Can we execute java program without main method?
What is the static method?
Can I learn java without any programming experience?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What are the properties of thread?
How infinite loop is declared?
How do you compare objects in java?
What about anonymous inner classes in java?
Is sizeof a preprocessor?