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

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.