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

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

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy initialization in java?

1059


Can a source file contain more than one class declaration?

1057


What is the difference between double and float variables in java?

1201


Explain the differences between abstraction and encapsulation?

1105


Write a program in java to find the maximum and minimum value node from a circular linked list.

1152


How do you create an array in java?

1036


Are functions objects in java?

1128


What do you know about the garbage collector in java?

1133


How many types of the indexof method are there for strings?

1019


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

2157


What do you mean by light weight and heavy weight components?

1067


What are the steps involved to write rmi based programs?

1071


What's a method in programming?

1157


What is the order of arraylist in java?

1181


Can you start a thread twice in Java?

1172