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

How to implement a multithreaded applet?

2673


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2821


What is a instance variable in java?

1046


What is array list in java?

1083


What do you mean by composition in java?

1026


What is continuity of a function?

1094


What is the significance of continue jump statement? Explain with an example.

1289


Is array a class in java?

980


What is the purpose of a volatile variable?

1062


How do you use wildcards?

1063


What is a key in java?

979


What is method overloading in JAVA? Why is it not present in C ?

1103


What is the final blank variable?

1138


What is meant by attribute?

1126


What is comparator in java?

1000