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

if u write
int a=1;
float b=1.0f;
system.out.println(a==b);

answer woill b true...as of now it wont compile

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why heap memory is called heap?

1093


Explain about instanceof operator in java?

1118


Can the interface be final?

1063


What is the program development process?

1032


Is java a compiler?

1019


Differentiate between stringbuffer and string?

1073


Explain methods specific to list interface?

1036


Is special character in java?

1136


What are autoboxing and unboxing? When does it occur?

1015


Which variable is the independent variable?

1028


what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread

1160


Can you make a constructor final in Java?

1192


What are the types of java?

1170


How do you reverse a string in java?

1203


what is deadlock? : Java thread

1060