| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Java Lessons

Page history last edited by Steve Sweeney 6 years, 11 months ago

 

Lesson / Topic
Notes & Reference
Video Tutorials & Code Examples
Exercises
Getting Started      
Dr.Java Development Environment Note - Install Dr.Java    
Java Program Template [Java Program Framework]    
Easier Input with Java [Java Input Using the In Class]    
Input - Processing - Output     IPO Exercises
First Program in Java Note: First Program - Hello World VT: Basic Output using println() and print()  
Java - String Output Note: String Output    
Java - Numeric Output Note - Numeric Output    
Java - Combined Output      

 

 

 

 

Formatted Output

Coding Examples

Quick Reference Sheet

VT: Formatted output using printf()
 

Java - Primitive Data Types

 

 

 
Java - Variables  

VT - Variables in Java

 
Java - User Input Note: User Input & Output    
Java - Output of Variables      
Java - Mathematical Operations Note - Mathematical Operations VT - Mathematical Operators & Modulo Division  [Calculation Exercises]
Java - Extended Math Operations     [Function Exercises]
Java - Integer Division & Modulo Operator   VT - Mathematical Operators & Modulo Division
[Modulo Exercises]
Java - Random Numbers Note: Random Numbers    
       
Selection in Java   VT Series - Decision/Selection Structures (by Stirling Crow)   Selection Exercises 
Java - Introduction to Selection & Decisions
Note - Boolean Operations & Logic    
Java - Boolean Operations & Logic Note - Comparing Values    
Java - Comparing Strings Note - Comparing Strings Video Tutorial - Comparing Strings  
Java - Introduction to Selection & Decisions Note - Simple IF Statements    
Java - Nested IF Statements      

Java Presentation - Switch/Case Statements

Note - Case Statements

   
Review Selection (ICS3U to ICS4U)      
Repetition in Java  

VT Series - Loops (by Stirling Crow)

Video: Loops

 
Java - While Loops (test at beginning)  Note - While Loops
VT: While Loops 
exercises
Java - Do Loops (test at end)  
  Exercises - Do Loops
Java - For Loops (counted loops) Note & Exercises - For Loops VT: For Loops
exercises attached to lesson
Methods in Java
     
Java - Intro to Methods Note - Methods

VT: Introduction to Methods

Sample Code - Creating a Method

[Exercises - Subroutines without Parameters]

Java Methods - Parameters

(procedures)

Note - Parameter Passing with Methods

VT: Passing Parameters to a Method

Sample Code - Method Parameters

[Exercises - Subroutines with Parameters]

Java Methods - Return Values

(functions)

Note - Return Values

VT: Return Values from Methods

Sample Code - Return Values

[Exercises - Functions]
Java - Random Number Method Note - Random Numbers   random value exercises
Method Overloading Note: Method Overloading    
Review Methods (ICS3U to ICS4U)      
Methods with Arrays Presentation: Arrays in Methods VT - Arrays in Methods  
Arrays & Strings in Java      
Java Arrays - Intro
Note - Basic Arrays

VT: Introduction to Arrays

Sample Code - Arrays

Exercises - Arrays 
Present: Using Arrays  
  1. VT: Table of Values
  2. VT: Summing Elements in Array
Exercises - Arrays
Present: Applications of Arrays      
Java Arrays - Traversing Arrays   VT: Summing Elements in Array  
Java Arrays - Strings as Array of Chars     Exercises - Strings # 1, 4, 3, 7, 8
Java - String Methods Note - String Methods   Exercises - Strings
Java Arrays - Array Table of Values   VT: Table of Values  
Arrays as Frequency Tables   VT - Using Array Elements as Counters (frequency table)  
Multidimensional Arrays   VT - Multi-Dimensional Arrays  
Dynamic Arrays   Sample Code: Dynamic Arrays
 
Searching Arrays
  1. Sequential Search
  2. Binary Search
   
Sorting Arrays
  1. Insertion Sort
  2. Selection Sort
  3. Bubble Sort
 
Classes & Objects in Java      
Introduction to Objects

Lesson - Classes Objects Fields

Note - Creating Objects

VT: - Introduction to Classes & Objects see note for exercises
    VT: Creating Objects from Another Class  
Instance Methods Note: Instance Methods VT: Instance Methods  
Class Constructors Note: Constructors VT: Constructor Methods  
Overloading Constructors Recall: Method Overloading VT: Overloading Constructors  

Hiding Information

(encapsulation)

Encapsulation & Hiding Information VT - Public & Private in Java  

Set & Get Methods

(encapsulation)

  VT - Set & Get Methods  
Class Methods Class Methods    
    VT - Arrays in Methods  
    VT - Arrays of Objects  
File Operations with Objects      

 

 

Comments (0)

You don't have permission to comment on this page.