Distinguish method overloading and method overriding
Answer Posted / sagar.rds
Method overloading is compile time polymorphism and method
over riding is Runtime polymorphism.Method oveloading is
having same name and different parameters and different
return type also.Method overriding same name with same
parameters and having same return type
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
extending thread class or implementing runnable interface. Which is better? : Java thread
why Java does not support multiple inheritances?
How do you insert a line break?
What are java packages? What's the significance of packages?
What class allows you to read objects directly from a stream?
What is class??
What do you mean by object?
Explain, java is compatible with all servers but not all browsers?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
Can each java object keep track of all the threads that want to exclusively access it?
How many types of memory areas are allocated by jvm?
What is jdbc api?
What are methods?
What are heap memory and stack memory and what are memory tables.
Is a method a procedure?