Entry
Java: Object oriented programming: Class: What is a class in Java?
May 25th, 2006 15:52
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 25 May 2021 - 10:54 pm ------------------------
Java: Object oriented programming: Class: What is a class in Java?
===
A class is zero or more functions, procedures or variables,
grouped together, with a common name (e.g. addressC).
---
A class in Java is very much like a class in C++, and somewhat like a
struct in C. It is a group of data items, with associated functions
that perform operations on this data. The data items in a class are
called fields or variables. The functions are called methods.
[book: author = Niemeyer, Patrick / Knudsen, Jonathan - title =
Learning Java - publisher = O'Reilly - ISBN 1565922719]
===
Internet: see also:
---
----------------------------------------------------------------------