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 / sudha

if u write
int a=1;
float b=1.0f;
system.out.println(a==b);

answer woill b true...as of now it wont compile

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes is a unicode character?

1007


How is abstraction implemented in java ?

1021


What is generics in java interview questions?

1067


Difference between object and reference?

1179


What is the difference between a local variable and an instance variable?

1110


What are the types of literals?

1188


How do you sort objects in java?

978


Explain what are final variable in java?

1083


How are java objects passed to a method and what are native methods?

1083


What do you understand by access specifiers in Java?

1015


What is the use of conditional statement?

985


How to print an arraylist in java?

1092


What is math exp in java?

1052


What is balanced tree in java?

973


Is node a data type in java?

1011