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 java reflection?

992


Is string a wrapper class?

1027


what is meant by encapsulation?

1092


How define set in java?

1089


Define how destructors are defined in java?

1036


What is string syntax?

1066


How can you handle java exceptions?

1038


Is 0 true or false in java?

996


Can we inherit a class with private constructor?

1138


What is the concatenation operator in java?

1165


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1055


How to perform binary search in java?

1007


What is the difference between length and size in java?

1000


Can you create an object of an abstract class?

1034


In java, how many ways you can take input from the console?

1007