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 / paras bist

compilation fails ,
even for
double d=10.5;
String f=(String)(10.5);

"Cannot cast from double to String"

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the independent variable in an experiment?

906


What is immutable state?

940


What data type is true or false?

990


What is the purpose of a volatile variable?

975


How does regex work?

907


What are extraneous variables examples?

1012


Explain the difference between treeset and treemap in java?

922


Is singleton a bad practice?

985


What is method overriding in java ?

1117


How do you create a reference in java?

916


Can we have try without catch block?

1030


Explain the public class modifier?

886


What is string intern in java?

976


What are drawbacks of singleton class?

906


What is slash r?

947