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...

Can a double value be cast to a byte?

Answer Posted / ravikiran(aptech mumbai)

yes
double d=22.55;
byte b=(byte)d;

Is This Answer Correct ?    34 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does += mean in java?

1128


What are the characteristics of Final,Finally and Finalize keywords.

1237


What is function overriding and overloading in java?

1171


What does java se mean?

1094


Why should I use abstract class?

1182


What does sprintf mean?

1001


What is string immutability?

1178


Why is method overloading not possible by changing the return type in java?

1052


Who found java?

1026


What is the order of arraylist in java?

1179


What do you mean by garbage collection used in java?

1120


What is the main method java?

1080


Compare Mutex and Semaphore in java.

1051


What is difference between filereader and bufferedreader?

1009


Difference between character constant and string constant in java ?

1055