int a=1;
float b=1.0;
System.out.println(a==b);
Answer Posted / dsr
int a=1;
float b =1.0; //error
System.out.println(a==b);
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Difference between linkedlist and arraylist.
What are nested classes in java?
What is the difference between variable & constant?
How will you reverse a link list without using recursion?
What is the default execution method in java?
What is merge sort in java?
What are the different collection views provided by maps?
Can sleep() method causes another thread to sleep?
Explain about automatic type conversion in java?
What does singleton class mean?
How is a variable stored in memory?
What is a blocking method in Java?
What does the “final” keyword mean in front of a variable? A method? A class?
Can we overload the methods by making them static?
Why is the type for real numbers called double?