Professional Documents
Culture Documents
Date:09/10/2020
Java Polymorphism
An inner class can also be static, which means that you can
access it without creating an object of the outer class:
Java Abstraction
To implement
multiple
interfaces,
separate them
with a comma:
Java User Input (Scanner)
The Scanner class is used to get user input, and it is found in
the java.util package.
To use the Scanner class, create an object of the class and use any of
the available methods found in the Scanner class documentation.
Example