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

can I implement my own start() method? : Java thread

934


What does it mean to be immutable?

919


What is difference between hashset and hashmap?

1053


Is char a data type in java?

918


What is the difference between assignment and initialization?

994


What is structure of java heap? What is perm gen space in heap?

1049


How strings are created in java?

971


What are the new features in java 8?

975


What is the difference between hashmap and hashtable in java?

1048


What are parameters in a method?

1039


What is difference between synchronize and concurrent collection in java?

988


What is the difference between super class & sub class?

1079


What is the type of lambda expression?

952


Explain the difference between intermediate and terminal operations in java8?

1043


Which is the best sorting technique in java?

930