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

Why is sizeof not a function?

1008


What is mnemonic in assembly language?

1079


What is a concrete classes? Is Java object class is concrete class?

989


What is difference between == equals () and compareto () method?

1055


What is the difference between the paint() and repaint() methods in java programming?

1202


What an i/o filter?

1027


Wha is the output from system.out.println(“hello”+null); ?

1151


Is null or empty java?

993


What is scope of a variable?

1103


What are design patterns and please explain?

1094


Explain about anonymous inner classes ?

1088


what is mutual exclusion? : Java thread

1031


What is immutable data?

1062


What is the difference between call by reference and call by pointer?

975


What is bigger kb or mb?

1050