What is Overriding and how can it be used?
Answer Posted / sajith
If class define method using same name,parameter,return
type,argument in its superclass then it is called overriding.
sub class should be override parentclass
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
How can we achieve thread safety in java?
Explain how can you debug the Java code?
how can i use a nonsynchronized hashtable?
What is the difference between variable declaration and variable initialization?
Mention some features of java?
What are the six ways to use this keyword?
Why multiple inheritance is not supported by java?
How are the elements of a gridbaglayout organized?
What is starvation?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
How do you convert an int to a string in java?
What do you mean by aggregation?
How does callback work in java?
Which class is used by server applications to obtain a port and listen for client requests?
What does system out println () do?