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

if i have one string class then how can you achive this class functionality of this class?

3 Answers   Fidelity, iFlex,


How to create a base64 decoder in java8?

0 Answers  


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

0 Answers  


explain the difference between jdk and jvm?

0 Answers  


Can we have two main methods in a java class?

0 Answers  


what is server side caching?

0 Answers   AIG,


What is the difference between @before and @beforeclass annotation?

0 Answers  


What is void class in java?

0 Answers  


What does this () mean in constructor chaining concept?

0 Answers  


What do you mean by garbage collection used in java?

0 Answers  


What is an event?

2 Answers  


Categories