Courseiva
Object-Oriented ProgrammingmediumMultiple SelectObjective-mapped

1Z0-811 Object-Oriented Programming Practice Question

Which three statements about constructors in Java are true? (Choose three.)

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

The default constructor has no parameters

Constructors can be overloaded to provide different initialization options, they cannot return a value (not even void), and if no constructor is defined, the compiler provides a default no-arg constructor.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The default constructor has no parameters

    Why this is correct

    Correct. If no constructor is defined, the compiler adds a no-argument constructor.

  • Constructors can be abstract

    Why it's wrong here

    Abstract constructors are not allowed in Java.

  • Constructors cannot return a value

    Why this is correct

    Correct. Constructors do not have a return type, not even void.

  • Constructors can be overloaded

    Why this is correct

    Correct. A class can have multiple constructors with different parameter lists.

  • Constructors can be final

    Why it's wrong here

    Final constructors are not allowed; constructors are never inherited and cannot be overridden.

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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on 1Z0-811

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which THREE are true about Java constructors?

medium
  • A.A constructor cannot have a return type
  • B.A constructor can be marked final
  • C.A constructor can be abstract
  • D.A constructor can be overloaded
  • E.A constructor can be private

Why A: Constructors in Java do not have a return type, not even void. If you attempt to add a return type to a constructor, the compiler treats it as a regular method, not a constructor, which can lead to unexpected behavior. This is a fundamental rule of Java syntax.

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.