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

Explain about main() method in java ?

1078


What do you mean by pointer value and address?

1053


what is a green thread? : Java thread

1026


How to do encapsulation in java?

1053


What does string mean in java?

1112


How many functional interfaces does java 8 have?

1031


What does split function do in java?

1026


Explain importance of inheritance in java?

1028


what is difference between equals and ==?

1065


What is a class object?

974


How is it possible for two string objects with identical values not to be equal under the == operator?

999


What is the use of put method?

954


What is locale in java?

1020


How does predicate work in java?

994


How will you communicate between two applets?

1171