Answer Posted / ravikiran
compile time polymorhism is named as overloading,and takes
place in the same class.Should have same method name but
must have different argument list.
Runtime polymorphism is named as overriding,and takes place
in diferent classes.Must have the same signature and
argument list including the order defined in the super
class.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Can we cast any other type to boolean type with type casting?
How many bits is a string in java?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What is the equal sign?
What is the difference between yielding and sleeping?
Is logger a singleton?
State one difference between a template class and class template.
What is maximum size of arraylist in java?
What is java english?
What are the approaches that you will follow for making a program very efficient?
What is difference between filereader and bufferedreader?
Why we use protected in java?
Can we define private and protected modifiers for variables in interfaces?
What is a super method?
What is the default size of arraylist in java?