What is the difference between overloading and overriding a
function?

Answer Posted / smita

overloading method :- is sem class in defintoin.
overriding method:- is subclass and super class in
definatioc

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between nested and inner classes ?

596


make a method which any number and any type of argument and print sum of that arguments.....

1369


What is final int?

520


What is a class object?

493


What are parameters in a method?

577






Can we execute java program without main method?

514


What is the purpose of the system class in java programming?

536


Can we define static methods inside interface?

514


What is the base class in java from which all classes are derived?

509


What is the java idl system?

578


What is a modifier?

854


What are the steps involved to write rmi based programs?

559


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

750


Can we call the constructor of a class more than once for an object?

618


Is object a data type in java?

578