The BASE for JAVA LEARNING

by PRO FE S S OR


by Steps

Security resources - Directory of Security related websites.

JAVA can be easily learned by steps.


Before beginning on JAVA it may be beneficial to understand
about Object-Oriented Programming in general.

Main Pillars of Object-Oriented Programming
Encapsulation
Inheritance
Polymorphism

Other features of Object-Oriented Programming:
Information Hiding
Abstraction

This is the 1st Mini-Course of this Series and is about the JAVA code and its fundamentals.
This is composed of 14 Sections, and you'll learn about the code core of JAVA.
Other Sections later will include GUI components (AWT and SWING classes), Graphics,
Applets, Event Handlers, More on Exceptions, I/Os, Serialization, and other topics,
all which are also very important for a thogouh understanding of the language.

To learn the JAVA code by steps, just begin with Step 1 below,
and continue on with all the other Steps in order.

1st MINI-COURSE

Section I - Introduction to JAVA
  • STEP 1:
  • What's JAVA and Why JAVA?
  • STEP 2:
  • JAVA File Names, Compilation and Execution
    QUIZ on Section I
    Ask Professor V about Section I
     
    Section II - Our 1st JAVA Stand-alone Program
  • STEP 3:
  • Classes for Encapsulation
  • STEP 4:
  • The main Method
  • STEP 5:
  • Console output -> 'System.out.println()' method
  • STEP 6:
  • Keyboard Input methods
    QUIZ on Section II
    Ask Professor V about Section II
     
    Section III - Data Types, Variables, and Constants
  • STEP 7:
  • Data Types (primitive and non-primitive)
  • STEP 8:
  • Local and Class Variables
  • STEP 9:
  • Instance Variables
  • STEP 10:
  • Constants
    QUIZ on Section III
    Ask Professor V about Section III
     
    Section IV - Operators and Casting
  • STEP 11:
  • Kinds of Operators and the Assignment Operator
  • STEP 12A:
  • Arithmetic Operators
  • STEP 12B:
  • Unary Arithmetic Operators
  • STEP 13:
  • Casting
  • STEP 14:
  • Logical Operators
  • STEP 15:
  • Relational Operators
  • STEP 16:
  • Bitwise Operators
    QUIZ on Section IV
    Ask Professor V about Section IV
     
    Section V - Object: Instance of a Class
  • STEP 17:
  • JAVA classes revisited
  • STEP 18:
  • What is an Object?
  • STEP 19:
  • Cohesion and De-coupling
    QUIZ on Section V
    Ask Professor V about Section V
     
    Section VI - Arrays and the String class
  • STEP 20:
  • Arrays and their Initialization
  • STEP 21:
  • Multi-dimensional Arrays
  • STEP 22:
  • Strings and their immutability
  • STEP 23:
  • The StringBuffer class
    QUIZ on Section VI
    Ask Professor V about Section VI
     
    Section VII - Programming Flow Instructions
  • STEP 24:
  • Straight Line and Branch Programming
  • STEP 25:
  • Decision and Cases (if / else, switch)
  • STEP 26:
  • Iteration (Loops)
  • STEP 27:
  • Processor Control (break, continue)
    QUIZ on Section VII
    Ask Professor V about Section VII
     
    Section VIII - Methods and Overloading
  • STEP 28:
  • Defining and Invoking a method
  • STEP 29:
  • Instant and class(static) methods
  • STEP 30:
  • Returning a value by a method
  • STEP 31:
  • Parameters passed via a Method.
  • STEP 32:
  • Parameters passed as Values, and as Reference.
  • STEP 33:
  • Method Overloading
    QUIZ on Section VIII
    Ask Professor V about Section VIII
     
    Section IX - Constructors
  • STEP 34:
  • What is a Constructor?
  • STEP 35:
  • Why Constructors?
  • STEP 36:
  • Order of Call for class (static) and Instance Objects
  • STEP 37:
  • Constructor Overloading
  • STEP 38:
  • The 'this' operator.
    QUIZ on Section IX
    Ask Professor V about Section IX
     
    Section X - Inheritance
  • STEP 39:
  • Single root Inheritance
  • STEP 40:
  • Members inherited
  • STEP 41:
  • Overriding
  • STEP 42:
  • The 'final' modifier
  • STEP 43:
  • Constructor Invocation at different Hierarchy Levels
  • STEP 44:
  • The 'super' Reference
    QUIZ on Section X
    Ask Professor V about Section X
     
    Section XI - Packages and Visibility modifiers
  • STEP 45:
  • Packages (directories) and importing them
  • STEP 46:
  • Visibility modifiers
  • STEP 47:
  • Information Hiding and WHY?
  • STEP 48:
  • Accessors and Mutators
    QUIZ on Section XI (Under Development)
    Ask Professor V about Section XI
     
    Section XII - Interfaces and Abstraction
  • STEP 49:
  • Abstract Classes
  • STEP 50:
  • Interfces - fully abstract Classes
  • STEP 51:
  • Implementing Multiple Interfaces
  • STEP 52:
  • Why Interfaces?
    QUIZ on Section XII (Under Development)
    Ask Professor V about Section XII
     

    All Sections below

    Under Development
    Section XIII - Polymorphism
  • STEP 53:
  • What is Polymorphism?
  • STEP 54:
  • How is Polymorphism implemented in JAVA?
  • STEP 55:
  • Why Polymorphism?
    QUIZ on Section XIII
    Ask Professor V about Section XIII
     
    Section XIV - Exception Handling
  • STEP 56:
  • Exception Handling in JAVA
  • STEP 57:
  • Exception classes and its sub-classes
  • STEP 58:
  • Methods raising Exceptions, and Why Exceptions?
  • STEP 59:
  • How to handle Exceptions?
    QUIZ on Section XIV
    Ask Professor V about Section XIV
     

    End of 1st MINI-COURSE