6. Classes and objects
Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.
A class is a blueprint and an object is one instance made from it with new. Fields hold data and methods hold behaviour.
Ver ejemplo
class Student {
String name;
}