Ask Question
9 March, 00:30

What are fields? Instance variables? object? methods?

+3
Answers (1)
  1. 9 March, 00:47
    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?
Find an answer to your question ✅ “What are fields? Instance variables? object? methods? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers