There are 2 methods in a class. Both have the same method
signature except for return types. Is this overloading or
overriding or what is it?
Answer Posted / vikneswarank
Its a overLoading .because overriding have two diff class
and return type also same
but overloading have one class,and it have same method name
and diff signature.
Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
Why constructor has no return type?
What is entry in java?
Which methods cannot be overridden in java?
what is an objects lock and which objects have locks? : Java thread
What is break and continue statement?
What is the memory leak in java?
What is difference between static variable and global variable?
What is a singleton puppy?
What does sprintf mean?
What is the main use of generics in java?
Why arraylist is not synchronized in java example?
What is a local class in java?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is array command?
Is it possible for a yielded thread to get chance for its execution again?