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 |
Which is easier .net or java?
What is diffrance between FINALIZE() & FINALLY ?
How do you use final keywords and final variables in Java?
Hi Friends, can you explain instance in java. In general instance means "occurence of something" . In java what is instance.
Can an interface have a constructor?
How to declare objects of a class ?
0 Answers Akamai Technologies,
Give reasons supporting that string is immutable.
Is list thread safe in java?
What is regex java?
Where we write javascript code in html page?
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }
Write a java program for binary search?