Examlex

Solved

Which of the Following Is a True Statement

question 69

Multiple Choice

Which of the following is a true statement?


Definitions:

ToString

The ToString method is a function in many programming languages used to convert an object into its string representation.

Reference Variable

A variable that holds the address of an object, allowing for the indirect manipulation of the object itself.

Private Method

A private method is a function in object-oriented programming that can only be accessed or called within the class in which it is declared, enhancing encapsulation.

Related Questions