Learn programming for Free and how to develop and write computer programs and IT applications. Get Free knowledge, information, references, and resources about computers now. Many Free training courses,tutorials, books, training guides, tips, articles, and helps are available to you.
Subscribe to our Free semimonthly Newsletter to Get the Latest & Best FREE Computer IT Training! -You'll stay current with all the New Free Computer Training and Education sites we discover - Subscribe now because you'll have access to these great new sites a month before our web site visitors do, and with each issue you'll receive our 2 non-public links containing 97 Pages of Free Training with over 10,000 Free IT training and tutorial resources.
This training is available on our members site only. As a member, all of the training and tutorials are available to you. We will be adding more training materials here in the future. You can join now for only USD $15 total for 2 months, $25.00 for 4 months, $34.00 for 6 months, or $59.00 for 1 year. (Please note the local links to member training content do not work on this page.)
This is a beginning course in computer science using Java. No experience with using Java is assumed. This online course with exercises will teach you quite a lot about Java. You should also get familiar with the programs and running them, as discussed in chapter 7. You will obtain a better grasp and understanding of Java by attempting to write programs on your own and also going through the suggested programming exercises for each chapter. This online course has been used successfully by beginning programmers and by experienced programmers who wanted to learn Java. Some people have used it as a review for Java certification.
This online course assumes you have the Java Software Development Kit (SDK) version 1.1 or later from Sun and a simple text editor such as NotePad. For help with setting up and running the Java SDK look at this page (Essentials of the Java Programming Language, Lesson 1: Compiling and Running A Simple Program), this page (Java 2 SDK Standard Edition Documentation), and also here. You can also use more sophisticated environments, as well. For more information please check the frequently asked questions.
Part 1: Hardware and Software
Part 1 consists of general computer science topics but does not say much about Java. Topics include a general discussion of hardware and software, the nature of analog and binary signals, machine language and high level languages, language translation and interpretation. Readers who already know these topics can skip to Part 2, where Java instruction begins.
Chapter 1: Introduction to Computer Systems
Quiz � Flash Cards
Chapter 2: Analog and Binary Signals
Quiz � Flash Cards
Chapter 3: Computer Memory
Quiz � Flash Cards
Chapter 4: The Processor
Quiz � Flash Cards
Part 2: Running Java Programs
Part 2 explains how to run Java programs. First, it discusses translating Java source code into bytecodes. Then it discusses how bytecodes are interpreted. All readers should look at this section. Next the notes explain how to create a Java program with the Windows Notepad editor and how to run it using the Java Development Kit.
Chapter 5: Introduction to Java
Review Exercise
Chapter 6: Small Java Programs
Review Exercise
Chapter 7: How to Run the Example Programs
Review Exercise
Part 3: Java Programming
Part 3 contains notes on how to program in Java. It assumes you know how to run the programs once you have written them. The notes are written so they can be used with any Java development environment.
Chapter 8: Primitive Data Types
Quiz � Flash Cards � Programming Exercises
Chapter 9: Variables and the Assignment Statement
Quiz � Programming Exercises
Chapter 9B: Expressions and Arithmetic Operators
Quiz � Programming Exercises
Chapter 10: Input and Output
Review Exercise � Programming Exercises
Chapter 11: Floating point Input
Review Exercise � Programming Exercises
Chapter 12: The if Statement
Quiz � Programming Exercises
Chapter 13: The Single Branch if Statement
Quiz � Programming Exercises
Chapter 14: Logical Operators and Example Programs
Review Exercise � Programming Exercises
Chapter 15 : Loops and the while statement
Review Exercise � Programming Exercises
Chapter 16: Counting Loops
Quiz � Programming Exercises
Chapter 17: Examples of Counting Loops
Review Exercise � Programming Exercises
Chapter 18: Sentinel-controlled Loops and Nested if statements
Review Exercise � Programming Exercises
Chapter 19: Result-controlled Loops
Quiz � Programming Exercises
Chapter 20: Example Program -- Combination Lock
Review Exercise � Programming Exercises
Chapter 21: File Input and Output
Review Exercise � Programming Exercises
Chapter 22: Reading Data from a File
Review Exercise � Programming Exercises
Chapter 23: File Input Techniques
Programming Exercise
Part 4: Object Oriented Programming
Part 4 contains notes on Object Oriented programming in Java. It starts with a general introduction to the concept of software objects, and then moves on to how these concepts are implemented in Java.
Chapter 25: Objects
Quiz
Chapter 26: Object References
Quiz
Chapter 27: More about Objects and Classes
Review Exercise
Chapter 28: Method Parameters
Review Exercise
Chapter 29: The String Class and More about Method Parameters
Programming Exercises
Chapter 30: Defining your own Classes
Review Exercise � Programming Exercises
Chapter 31: Class Design Example (miles per gallon)
Review Exercise � Programming Exercises
Chapter 32: Class Design Example (checking account)
Review Exercise
Chapter 33: Encapsulation and Visibility Modifiers
Quiz � Programming Exercises
Chapter 34: Parameters, Overloading, Local Variables
Review Exercise
Chapter 34B: Object Parameters
Quiz
Chapter 35: Objects that Contain Objects
Review Exercise � Programming Exercises
Part 5: Applets and Graphics
Chapter 36: Applets
Quiz � Programming Exercises
Chapter 37: Applet Examples
Quiz � Programming Exercises
Chapter 38: More Applet Examples
Quiz � Programming Exercises
Part 6: More Java Programming Features
This section discusses additional features of Java, such as additional language features for incrementing and decrementing variables, convenient ways to create loops, and arrays.
Chapter 39: Increment, Decrement, and Assignment Operators
Quiz
Chapter 40: Boolean Expressions and Short-circuit Operators
Review Exercise
Chapter 41: The for Statement
Quiz
Chapter 42: More about the for Statement
Quiz
Chapter 43: The Conditional Operator, and the switch Statement
Quiz
Chapter 44: The do Statement
Quiz
Chapter 46: Introduction to Arrays
Quiz
Chapter 47: Common Array Algorithms
Quiz
Chapter 48: Arrays as Parameters
Review Exercise
Chapter 49: Methods that Change Arrays
Quiz
Chapter 49B: Arrays of Objects and Linear Search
Quiz � Programming Exercises
Chapter 49C: Two-dimensional Array
Quiz
Chapter 49D: StringBuffers and StringTokenizers
Quiz � Programming Exercises
Part 7: Advanced Object Oriented Programming
This section discusses advanced features of object oriented programming that will be needed for programming graphical user interfaces.
Chapter 50: Introduction to Inheritance
Quiz
Chapter 51: Abstract Classes and Polymorphism
Quiz
Chapter 52: More about Polymorphism
Quiz
Chapter 53: Interfaces
Quiz
Chapter 54: Vectors and Enumerations
Quiz
Part 8: Graphical User Interface Programming
This section tells you how to program graphical user interfaces using the Java 1.1 Abstract Windowing Toolkit (AWT).
Chapter 55: Beginning GUI Programming
Quiz
Chapter 56: Event Listeners
Quiz
Chapter 57: Adding GUI Components to a Container
Quiz
Chapter 58: More about Action Events
Programming Exercises
Chapter 59: Example GUI Application
Programming Exercises
Chapter 60: A Larger GUI Application
Programming Exercises
Chapter 61: Components Layout Techniques
Quiz � Programming Exercises
Chapter 62: AWT Class Hierarchy
Part 9: Exceptions and IO Streams
This section discusses how Java handles errors through its Exception mechanism. Then it discusses input and output with disk files and other data streams.