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

How static variable work in java?

1055


What variables are stored in stack?

915


What is the method to declare member of a class static?

962


How do I start learning java?

1000


Describe the term diamond problem.

972


What does g mean in regex?

935


In which language java is written?

924


How list contains works in java?

924


What is are packages?

982


What is casting in java programming?

972


How to sort double array in java?

942


Can we inherit a class with private constructor?

1058


What are computer functions?

881


Can You Have Virtual Functions In Java?

1082


Why are arrays useful in java?

973