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 / ravikiran(aptech mumbai)

compilation fails

double d=10.5;
String f=(String)(10.5);

will work

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reverse sort in java?

1001


What is static block?

1185


Can a lock be acquired on a class in java programming?

1044


What is skeleton and stub?

1162


What is * argv?

1310


what do you understand by synchronization? : Java thread

1058


What is an inner class in java?

1021


Which is illegal identifier in java?

1139


What modifiers are allowed for methods in an interface?

1213


Is treeset sorted in java?

1038


What does main method?

1014


How do you escape sequences in java?

1114


How do you convert int to char in java?

1121


Is void a keyword in java?

1062


How are destructors defined in java?

1087