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

989


What is file in java?

1081


What do bitwise operators do?

1051


Can we use both this () and super () in a constructor?

1047


What is the static keyword?

1142


What does s mean in regex?

1067


Write a java program that prints all the values given at command-line.

1055


What is a stringbuffer?

1025


worst case complexities of Quick sort and Merge sort.

1087


Why are global variables used?

1072


Can private method static?

976


What is jar?

1174


Which is dependent variable?

951


What is supplier in java?

1050


How many types of equations are there?

1066