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

What is the smallest package in Java API?

5 Answers   iGate,


Name the packages in JDK?

2 Answers  


What is bytecode in java ?

0 Answers  


How the elements are organized in BorderLayout?

5 Answers  


I/O blocking means?

1 Answers  


how session will be expired?

5 Answers   CybAge, Infosys,


What is the purpose of using break in each case of switch statement?

0 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 Answers  


What is the main function in java?

0 Answers  


what invokes a threads run() method? : Java thread

0 Answers  


what is the difference between thread and runnable types? : Java thread

0 Answers  


What is not thread safe?

0 Answers  


Categories