Back to the 2026 paper

Module 3: Methods of Java

20262m

Which keyword refers to the current object?

(i) super
(ii) current
(iii) this
(iv) self

Worked SolutionAI Assisted

Answer: (iii) this

this refers to the current object instance. It is often used to distinguish instance fields from parameters or to call another constructor using this(...).

class Student {
    int id;
    Student(int id) { this.id = id; }
}

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.