What is field and method in Java?

A field is a member variable that belongs to a class. A method is a set of java commands referred to by name . You are able to execute all the commands by using the name of the method. Methods can take values as parameters and return a value as a result.

Sizin İçin Seçtik  What is Flutter BLoC?

Leave a Reply

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