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...

What happens when you assigned a 'double' value to
a 'String'?

Answer Posted / ravikiran(aptech mumbai)

compilation fails

double d=10.5;
String f=(String)(10.5);

will work

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why java is said to be pass-by-value ?

1043


what is session in java?

1254


What is navigable map in java?

990


What is the basic concept of java?

1022


Why pointers are not used in java?

1135


Can we extend private class in java?

987


What is multithreading in java?

1057


What does exp mean in math?

993


Explain about the main() method in java?

1115


What is the difference between class & structure?

1230


Why are generics used?

977


What is the maximum size of arraylist in java?

1010


What is the use of callablestatement?

1022


What is mysql driver class name?

1146


How to make object serializable in java?

993