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);

Answers were Sorted based on User's Feedback



int a=1; float b=1.0; System.out.println(a==b); ..

Answer / dsr

int a=1;
float b =1.0; //error
System.out.println(a==b);

Is This Answer Correct ?    0 Yes 1 No

int a=1; float b=1.0; System.out.println(a==b); ..

Answer / john

what is the output fr this C code ? AND WHY ?

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

Is This Answer Correct ?    0 Yes 1 No

int a=1; float b=1.0; System.out.println(a==b); ..

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

More Core Java Interview Questions

Why java is a platform independent? Explain

0 Answers  


Variable of the boolean type is automatically initialized as?

0 Answers  


how to print output with out using sop statements

5 Answers   UHG,


How do I print a “?

0 Answers  


What is the advantage of functional interface in java 8?

0 Answers  


Can variables be used in java without initialization?

0 Answers  


Why is the singleton pattern considered to be an anti pattern?

0 Answers  


What is an object in java and how is it created?

0 Answers  


What is collection sort in java?

0 Answers  


Is java a software?

0 Answers  


What is the purpose of premetive data types in java?

2 Answers   Merrill Lynch, TCS,


What is tostring () method?

0 Answers  


Categories