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

What is a variable and constant?

655


What is the use of keywords in java?

647


Why stringbuilder is not thread safe in java?

684


Why is the type for real numbers called double?

634


How many types of interfaces are there?

666






How can a gui component handle its own events in java programming?

633


Explain about doubly linked list

720


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1648


How do you do math powers in java?

674


What is an immutable class?

713


What does t in java mean?

620


what is thread? : Java thread

639


Is void a type?

660


How do you check if a number is a perfect square?

611


What is visibility mode?

625