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

Can you pass functions in java?

947


List any five features of java?

963


Can we able to pass objects as an arguments in java?

966


What does 3 dots mean in java?

924


What is considered an anti pattern?

878


Name some classes present in java.util.regex package.

983


What is the use of keywords in java?

937


What is the purpose of an interface?

985


How do you clear a list in java?

1046


What is empty list in java?

1028


Explain the pointers in Java?

996


Can we catch more than one exception in a single catch block?

1020


Why singleton is not thread safe?

944


what is deadlock? : Java thread

944


What is string in java is it a data type?

952