Examlex

Solved

Which of the Following Statements Is CORRECT

question 64

Multiple Choice

Which of the following statements is CORRECT?


Definitions:

Private

An access modifier in object-oriented programming that restricts visibility or access to members of a class exclusively within that class.

Interface

A point of interaction between components, often used to define shared boundaries in software.

Instance Variables

Variables defined in a class for which a separate copy is created for each object of the class.

Primitive Variables

Primitive variables in computer programming are basic data types that hold values such as integers, booleans, and floating-point numbers, and are not objects.

Related Questions