An attempt to understanding object oriented programming as it was intended to be understood: conceptually.
read moreObjects have fields and methods.
Fields are the states of the object (their ways of being).
Methods are what the object does (its way of behaving)
Objects are instances of classes
Scanner scaner = new Scanner format is just creating an object (or an instance) of a class. Then, scan.scaner etc. is just invoking the methods of the instances or objects
There are also superclasses and subclasses.
A subclass gives more features to the superclass so it therefore extends the superclass.
Something like
class Subclass1 extends Superclass {
}