Ask Question

What are fields? Instance variables? object? methods?

+5
Answers (1)
  1. 1 October, 04:06
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers