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 methods in java?

990


What is the use of singleton class?

970


Why object class is super class for every class in java?

1027


What happens to the Exception object after handling an exception?

2370


What is thread start?

956


What is the method to declare member of a class static?

1007


Explain creating threads by extending thread class ?

1053


What mechanism does java use for memory management?

976


What is rmi and steps involved in developing an rmi object?

1063


what is the major difference between linkedlist and arraylist in java?

1214


What is the benefit of lambda expressions?

1057


Difference between keyword and identifier.

1028


How do I enable java in safari?

1030


Write a function to print Fibonacci series and Tribonacci series?

1180


what is daemon thread and which method is used to create the daemon thread? : Java thread

970