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
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
How are variables stored?
What is a parameter example?
How to print nodes of a Binary tree?
Which are different kinds of source code?
What is substring 1 in java?
Explain thread in java?
What is an 8 bit word?
Will minecraft java be discontinued?
What are functions in java?
How many classes can any class inherit java?
Why Java doesn’t support multiple inheritance?
What is var keyword ?
Can a final variable be manipulated in java?
What is finalize()? Is finalize() similar to a destructor?