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

Write a program to reverse a number in java?

564


What are some examples of variable costs?

494


What is string pool?

629


What do the thread?class methods run() and start() do?

543


List some java keywords sun like c, c + + keywords?

590






How many types of literals are there in JAVA?

596


Is java an open source?

528


Give a brief description of java socket programming?

527


How to change the priority of thread or how to set priority of thread?

568


What is meant by string is immutable?

517


How does arraylist size increase in java?

531


What are different types of encoding?

582


What are java packages?

586


What is the multi-catch block in java?

535


Is zero a positive integer?

532