interfaces : Functions of classes
Light LT = New Light ();
Lt.on ();
Hidden : How a class member/interface function exists (in the way it is used)
Public
Private
Protected
The difference between reuse and inheritance
multiplexing : Automotive Containment Engine (A contains B)
inheritance : Cats are animals (base class and export Class)
Extends and coverage (overriding) concept
extends inheritance : Add function (original function automatically exists)
overrding: Rewrite, different functions of the same interface
Thinking: The difference between exporting classes with or without overrides
A. A circle is a geometric shape (subclass)
B. e-books like paper books (instead)
Thinking: When there are two classes that intersect, is it necessary to inherit or completely replace, to generate a new class
////////////////////////////////////////////////////////
differences between Java and C + + :
single-Root inheritance : Are all classes inherited from a single base class?
objects can only be created in one way :(on the heap) new dynamically created
Containers: Containers that store objects (objects are references)
Concurrent Programming : Perform a task at the same time
Multi-Threading and locking
lock : Avoid problems with shared resources (two threads trigger printer at the same time)
Java concurrency is placed in the language
Thinking in Java 16/3/5