3
Reply

What are "methods" and "fields"?

rahul jaiswal

rahul jaiswal

12y
2.6k
0
Reply

    http://www.brpreiss.com/books/opus5/html/page594.html

    int i=10;---- Field.public void display();------ Method

    A class can have memebers.

    "Methods" and "fields" are two important member of classes . Member function are know as method and data member are know as fields.