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

If you do not want your class to be inherited by any other class. What would you do?

1075


Why hashcode is used in java?

1030


difference between byte stream class and character stream class?

4605


How do you add spaces in java?

1065


Write a function to print Fibonacci series and Tribonacci series?

1222


How will you invoke any external process in java?

1170


What is the maximum length of a url?

1022


What do you mean by mnemonics?

1115


What is adapter in java?

976


Difference between stack and queue?

1140


Is a char always 1 byte?

1051


How many types of the indexof method are there for strings?

1023


Where are the card layouts used?

1127


Explain public static void main(string args[]).

1243


List some oops concepts in java?

1093