1Z0-811 Arrays and Methods Practice Question
Which three statements about method overloading are true? (Select three.)
⚠ Common exam trap
The trap here is that candidates often mistakenly think return type alone can distinguish overloaded methods, leading them to select Option D, but the Java compiler requires different parameter lists for overloading.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Overloaded methods can have different return types.
Method overloading in Java allows methods to have different return types, provided they have different parameter lists. The return type alone is not sufficient to distinguish overloaded methods, but it can vary as long as the parameter lists differ.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Overloaded methods can have different return types.
Why this is correct
Overloaded methods in Java are distinguished by their method signatures, which comprise the method name and the number and types of parameters. The return type is not considered part of the method signature for the purpose of overloading. Consequently, methods can be overloaded even if they have different return types, provided their parameter lists are distinct. This characteristic makes the statement true, satisfying the question's requirement to identify correct assertions about method overloading.
- ✗
Overloaded methods cannot have different access modifiers.
Why it's wrong here
They can have different access modifiers; there is no restriction.
- ✓
Overloaded methods can have different access modifiers.
Why this is correct
Access modifiers like public, private, etc., can vary among overloaded methods.
- ✗
Overloaded methods can have the same parameter list as long as the return type differs.
Why it's wrong here
Overloading requires different parameter lists; having only different return types does not overload.
- ✓
Overloaded methods must have different parameter lists.
Why this is correct
Overloading is distinguished by the number, type, or order of parameters.
Go deeper
Related to this question
About these practice questions
One of 481 original 1Z0-811 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 1Z0-811 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-811 exam.