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 / keli

UP CASTING: it is the process of assigning subclass reference to the super class.
DOWN CASTING:the process of assigning superclass reference to subclass

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you override a final method?

980


Can a private method be declared as static?

965


Is vector thread safe in java?

993


What is the original name of java?

1004


What is the static block?

1000


What are the advantages of passing this into a method instead of the current class object itself?

1609


Can an object subclass another object?

1017


What restrictions are placed on method overloading in java programming?

994


How do you check if a number is a perfect square?

934


Under what conditions is an object’s finalize() method invoked by the garbage collector?

974


Why 1 is not a prime number?

978


What is the base class of all exception classes in java?

998


What is the collections api in java programming?

926


Is arraylist dynamic in java?

926


Why string is immutable or final in java

1025