Java Tutorial 39 - Classes and Objects 1-2

Published: 30 December 2019
on channel: Ken
34
1

Classes
A class is a template, blueprint, or contract.
A class defines the state and behaviors for objects.

Objects
An object is an instance of class.
An object represents an software entity uniquely in the real world.

Class Object
data fields state / properties / attributes
methods behaviors / actions / operations
constructors

e.g.,
Object State Behavior
window name minimize, maximize, close, open, new
lamp on, off turn on, turn off
tv on, off, turn on, turn off, volume up, volume down,
volume, channel channel up, channel down


On this page of the site you can watch the video online Java Tutorial 39 - Classes and Objects 1-2 with a duration of hours minute second in good quality, which was uploaded by the user Ken 30 December 2019, share the link with friends and acquaintances, this video has already been watched 34 times on youtube and it was liked by 1 viewers. Enjoy your viewing!