OCA Java SE 8 Mock Exam Review - OCA Mock Question 11
Question
Which of the following statements about overloaded methods are true?
- Static methods cannot be overloaded.
- The return value is not considered when overloading a method.
- Private methods cannot be overloaded.
- An overloaded method cannot throw exceptions.
Answer
Note
The return value is not considered when overloading a method.