Examlex

Solved

Which of the Following Statements Is Not Correct

question 48

Multiple Choice

Which of the following statements is not correct?


Definitions:

Public

An access modifier in programming languages that allows members (variables, methods, classes) to be accessible from any other code in the application or any external class.

Private

An access modifier in object-oriented programming that restricts access to variables and methods to the class in which they are declared.

Interface

An interface in programming is a contract or a blueprint that classes can implement; it specifies a set of methods that the implementing class must provide.

Method Headings

The part of a method declaration that includes the method's name, return type, and parameters.

Related Questions