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

Is java call by value?

1098


What is string literal in java?

1056


What is the difference between final, finally and finalize()?

1156


Is java same as core java?

1103


Write a program to print all permutations of string?

1119


Can you add null to a list java?

1058


Write a program to reverse a number in java?

1097


How do you check if a string contains only numeric digits?

1122


What is meant by structural programming?

1021


how do I create a runnable with inheritance? : Java thread

984


Can we create an object of static class in java?

1019


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1138


Can you achieve runtime polymorphism by data members?

1149


Is char * a string?

995


How do you compare objects in java?

960