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
Can you override a final method?
Can a private method be declared as static?
Is vector thread safe in java?
What is the original name of java?
What is the static block?
What are the advantages of passing this into a method instead of the current class object itself?
Can an object subclass another object?
What restrictions are placed on method overloading in java programming?
How do you check if a number is a perfect square?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Why 1 is not a prime number?
What is the base class of all exception classes in java?
What is the collections api in java programming?
Is arraylist dynamic in java?
Why string is immutable or final in java