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

Is break statement can be used as labels in java?

967


What is externalizable?

1066


Can you change array size in java?

968


What do you mean by garbage collection used in java?

1069


Can we cast any other type to boolean type with type casting?

961


How to run a JAR file through command prompt?

1281


What do you know about the garbage collector?

1115


What is method in java with example?

963


what are the states associated in the thread? : Java thread

1058


Is java call by value?

1098


What is the use of conditional statement?

985


Explain jdk, jre and jvm?

976


What is the meaning of I ++ in java?

1186


Differences between external iteration and internal iteration?

1169


Explain the private field modifier?

1097