What is a field in Java and examples?

A Java field is a variable inside a class . For instance, in a class representing an employee, the Employee class might contain the following fields: name. position. salary.3 Mar 2015

Sizin İçin Seçtik  What is an object attribute?

Leave a Reply

Your email address will not be published. Required fields are marked *