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

Difference between linkedlist and arraylist.

1017


What are nested classes in java?

1036


What is the difference between variable & constant?

963


How will you reverse a link list without using recursion?

984


What is the default execution method in java?

1127


What is merge sort in java?

912


What are the different collection views provided by maps?

930


Can sleep() method causes another thread to sleep?

984


Explain about automatic type conversion in java?

1004


What does singleton class mean?

910


How is a variable stored in memory?

932


What is a blocking method in Java?

1130


What does the “final” keyword mean in front of a variable? A method? A class?

941


Can we overload the methods by making them static?

944


Why is the type for real numbers called double?

904