Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

int a=1;
float b=1.0;
System.out.println(a==b);

Answer Posted / narasimha

i am sorry to say anil even if you put double in place
float also you are going to get flase not true.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are meta-annotations?

993


How do you convert boolean to boolean?

1159


Explain the importance of import keyword in java?

1012


How will you get the platform dependent values like line separator, path separator, etc., ?

1027


What is data movement?

1139


What is annotation in java?

1052


What do you mean by collectors in java 8?

935


What is the synchronized method modifier?

1204


List the three steps for creating an object for a class?

971


What is equals method in java?

1038


What is methods and methodology?

1029


Which java ide is used the most?

1009


Why wait and notify methods are declared in object class?

1041


Is an array a vector?

1046


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1136