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

Tell us something about an iterator.

938


What is a nested class?

1098


Is ++ operator thread-safe in java?

1158


What is the difference between private & public & friendly classes?

1056


What if constructor is protected in java?

1095


Does .length start 0 java?

991


How do you write a conditional statement?

940


What is collections framework?

1128


What is r * in math?

983


What are the 2 types of java programs?

1095


What is starvation?

1284


What is array size in java?

947


Add a value x to array from index l to r where 0 <= l <= r <= n-1

1080


How many types of constructors are used in java?

1152


Define jre i.e. Java runtime environment?

991