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 is a line break example?

937


Can substring create new object?

1058


How do I get a substring?

927


What is an abstract class and what is it’s purpose?

907


What type of variable is gender?

932


How to create an interface?

1007


What is the use of predicate in java 8?

891


What methods are used in Servlet?Applet communication?

2174


What is array list in java?

1023


What is java beans?

938


what is the difference between future and callable interface in java?

1146


What are the differences between abstract class and interface?

988


What do you mean by object?

914


I want to print “hello” even before main is executed. How will you acheive that?

1047


Does google use java?

908