Ask Question
12 May, 21:51

What are fields? Instance variables? object? methods?

+4
Answers (1)
  1. 12 May, 22:21
    0
    Explained

    Explanation:

    Fields: Fields represent data and should be a noun. It should begin with a lower case letter.

    Instance variable: it is a variable defined in class but outside the constructor and the method. instance variables are created when an object is instantiated.

    Object: An object is the basic unit of object oriented programming language. and represents the real life entities. An object consists of state behavior and properties.

    Method: Method in a collection of statements that perform some specific task and return the result to the caller.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What are fields? Instance variables? object? methods? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers