Answer Posted / aburar yaseen
overloading:previous answers are correct.
overriding: overriding is possible only in inheritance.
we will have more than one methods in the same name with
same no. of arguments with same type in different classes.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Explain the difference between an object-oriented programming language and object-based programming language?
What are the methods of object class ?
How does hashset works in java?
How many ways can we create the string object?
What are the 3 types of loops in java?
Explain scope or life time of local variables in java?
Why is boolean important?
Which data type is a class in java?
How concurrent hashmap works?
What is the difference between int and integer in java?
If a method is declared as protected, where may the method be accessed?
Why arraylist is not synchronized in java example?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
Can an interface extend another interface?