What is method Overriding in the perspective of OOPS?
Answers were Sorted based on User's Feedback
Answer / boss
Redefining the superclass method in the subclass. Means
redefining the implementation of superclass method in the
subclass
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / ravikiran(aptech mumbai)
method overriding is changing the exsiting functionality in
the subclass from the super class
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / ramakrishna yechuri
Itis the process of defining the member function in sub
class with same prototype as in base class.
super key word is used to invoke the base class members.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / nisha singh
we can make the same method ,with same parameter is method
overriding can inherit the base class by using overrides
keyword.in base class we use virtual keyword nd in derive
class use override keyword
| Is This Answer Correct ? | 0 Yes | 1 No |
Why are the destructors for base class and derived class called in reverse order when the program exits
Default layout of panel and frame?
What is generic class?
1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?
How to run a JAR file through command prompt?
Is logger a singleton?
What is use of static method?
What is meant by nested loop?
Can we call a non-static method from inside a static method?
How do you convert an int to a double in java?
What are the procedures?
What is difference between fileinputstream and filereader in java?