What is the difference between overloading and overriding a
function?
Answer Posted / rohit
overriding is used in diferent class with same parameters
overloading method :- is sem class in defintoin.
overriding method:- is subclass and super class in
definatioc
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we have two main methods in a java class?
What is exception hierarchy in java?
What are the types of strings?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What do you mean by platform independence? What is an interface?
Implement two stacks using a single array.
How can you set an applet’s height and width as a percentage?
What are constants and how to create constants in java?
What is method overriding in java ?
What is the use of math abs in java?
What is a consumer in java?
Is java still relevant?
What is a function argument in java?
How do I get 64 bit java?
What is java english?