What is Overriding and how can it be used?
Answer Posted / vikneswarank
the class and it sub contain one method with same name and
same signature and same return type also
sub class in method will override in super class.
in case of overridding during run time jvm knows which
method it will call.
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is a dot notation?
How can constructor chaining be done using this keyword?
Does google use java?
Does set allows null in java?
Can abstract class have private constructor?
What is data type in computer?
What is a boolean in java?
What is string in java with example?
Which is a valid identifier?
What is difference between identifier and variable?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
Why java is platform independent? Explain.
What is the point of polymorphism java?
What are the basic concepts of OOPS in java?
What is a native method in java programming?