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 inheritance in java?

966


What environment variables are required to be set on a machine in order to run Java programs?

1175


How variables are stored in memory?

989


What is a numeric digit?

1070


Explain thread life cycle in java?

1019


What is considered an anti pattern?

916


What are the drawbacks for singleton class?

994


What is object cloning in Java?

1088


How many bytes is 255 characters?

960


Why isn’t there operator overloading?

1048


How many types of flags are there?

1004


Can variables be used in java without initialization?

1054


Explain the differences between static and dynamic variables?

1125


Can we declare a class as abstract without having any abstract method?

984


When should I use singleton?

1005