int a=1;
float b=1.0;
System.out.println(a==b);
Answer Posted / kavitha
if u just convert the float to double that will be sufficient
u get the answer "true"
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can we assign null to double in java?
What does it mean that a method or field is “static”?
What is the difference between a method and a function in alice?
how to deploy apache tomcat server to weblogic server in java
What is the use of StringTokenizer class?
What is an object in java?
Is treeset sorted in java?
What is the difference between an interface and an abstract class?
What are benefits of java?
What is the this keyword?
What is the difference between compiler and jvm?
What is the meaning of variable in research?
Is an array a vector?
Which programming language is best in future?
Can a main method be declared final?