What are Advatages of Overloading and Overridding.
Answer Posted / pooja srivastava
Overloading means same functions but different arguments..
so with overloading we can take new action with diff
parameters..
Overriding means same methods with same argument and same
prototype...
so with overriding we can create new definatin in subclass
with same method name and prototype..
| Is This Answer Correct ? | 38 Yes | 8 No |
Post New Answer View All Answers
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What does \ mean in regex?
Can an interface extend another interface?
How many threads can I run java?
What is the purpose of using javap?
Does constructor creates the object ?
What is the Concept of Encapsulation in OOPS
What is a local class in java?
What do you mean by access modifier?
What is the purpose of a parameter?
How many types of flags are there?
What do you understand by classes in java?
Can we pass a primitive type by reference in java? How
What is java and its types?
What is the difference between array and array list in java?