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

main()
{
int a=1;
float b=1.0;
if(a==b)
printf("true");
else
printf("false");
}

what will be the output for this ?

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1060


Which api is provided by java for operations on set of objects?

1525


Which is better list or arraylist in java?

907


What are alternatives to java serialization?

1186


Explain abstract class in java?

1127


Where is singleton pattern used?

1040


what do you mean by marker interface in java?

1020


Can you override static methods?

1053


What is the advantage of preparedstatement over statement?

1166


What are data structures in java?

1029


What happens if an exception is throws from an object's destructor?

1095


Can we increase array size dynamically in java?

1011


What is the difference between a choice and a list?

1129


How do you declare an array that will hold more than 64KB of data?

1387


How garbage collection is done in java?

1102