According to the revision sheet, what is a common mistake freshers make when discussing abstraction and encapsulation?
Practice this question from Quiz: OOPS Revision Sheet, with options and an explanation.
Question
According to the revision sheet, what is a common mistake freshers make when discussing abstraction and encapsulation?
Option A — Correct answer
Giving identical definitions for both concepts.
The revision sheet explicitly mentions this as a common trap: 'Giving identical definitions for abstraction and encapsulation.'
Option B
Confusing overriding with overloading.
Option C
Not providing code examples.
Option D
Focusing too much on inheritance.