int a=1;
float b=1.0;
System.out.println(a==b);
Answer Posted / sudha
if u write
int a=1;
float b=1.0f;
system.out.println(a==b);
answer woill b true...as of now it wont compile
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is special character in java?
What technique is carried out to find out if a particular string is empty?
Which is better stringbuffer or stringbuilder?
What is boolean in java?
What is the purpose of using break in each case of switch statement?
How to sort an unsorted array in java?
How many days will it take to learn java?
Print Vertical traversal of a Binary Tree.
How many threads can java run?
How do you get the length of a string in java?
What is a instance variable?
How do you create a first line indent?
What are encapsulation, inheritance and polymorphism?
State the difference between strings and arrays.
Can inner class final?