Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Java
  • Discussion

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Related Services

Bookmark and Share
Lecture Comments (5)

1 answer

Last reply by: Maury Hillstrom
Mon Jul 11, 2016 5:10 PM

Post by Richard Edwards on July 8 at 06:27:57 AM

DO you provide the code for the lessons?

1 answer

Last reply by: Kitt Parker
Fri Jul 10, 2015 3:04 PM

Post by Dakoto Aya semale on July 3, 2013

in the example5 program simulates tossing a coin. why the in the flip() method the randonNumber.nextInt(2) == 1. what does this means. please give some clarification

0 answers

Post by Lora Wayman on April 2, 2013

When were we introduced to switch statements?


  • Modules are groups of classes or methods that are packaged together
  • All objects of a class can share the same piece of data if a variable is declared with the “static” keyword
  • Java allows method “overloading” which allows multiple methods with the same name as long as each method has a different set of arguments


Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

  • Intro 0:00
  • Types of Modules 0:09
    • Methods & Classes
    • Packages
  • Static Class Members 1:20
    • Static Class Members
    • Example of Static Class Members
  • Queues vs. Stacks 3:21
    • Queues
    • Stacks
    • Push and Pop
  • Method Overloading 6:05
    • Method Overloading
  • The 'this' Keyword 7:13
    • 'this' Keyword
    • Example
  • Composition vs. Inheritance 8:05
    • Composition and Example
    • Inheritance and Example
  • Example 1: Roll a Six-diced Die 10,000 Times 10:53
  • Example 2: Program Calculates Charges for Parking Lot 14:47
  • Example 3: Test Application for Class Parking 20:30
  • Example 4: Program that Converts Fahrenheit to Celsius and Vice Versa 23:43
  • Example 5: Program Simulates Tossing a Coin 29:25