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 is meant by UP& DOWN casting in java?

Answer Posted / javachi

Casting is nothing but data type conversion.
Up casting is the conversion of data type from lower range data type to higher data type eg: int to long, byte to long, int to double etc...
Down casting is vice versa of up casting, here we do type casting from larger value to lower value,
eg: double to byte, long to int etc

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the synonym of procedure?

1203


What is == in java?

1071


Difference between abstract and concrete class ?

1264


Differences between traditional programming language and object oriented programming language?

1179


Explain the use of sublass in a java program?

1078


What is the best definition for data?

1023


Why is string buffer better than string ?

1194


Which programming language is most secure?

1037


Are arrays primitive data types?

1255


What are the 5 types of research methods?

1187


Can a boolean be null java?

1027


What is constructor chaining in java?

1117


Is zero a positive integer?

1143


what is instanceof operator used in java?

1080


What are the 8 primitive data types in java?

1081