This is a first course in Computer Science using the programming language Java. It is intended for high school AP Computer Science classes, for university level CS-I classes, and for self study.
For maximum benefit, go though these notes interactively, thinking about and answering the question at the bottom of each page. There are about 20 pages per chapter. If you spend about 3 minutes per page each chapter will take about 60 minutes, or longer if you copy and run some of the programs. If you are a beginning programmer, plan on spending more than a month with this.
These notes assume that you have the Java version 9.0 or later from Oracle, Inc. at http://https://www.oracle.com/java/technologies/java-se-glance.html and a text editor such as Notepad or Notepad++. They may be used with an integrated development environment such as BlueJ, as well. For more about these notes check the frequently asked questions.
Super Easy Way to Run Java: The web site https://www.codiva.io/ lets you copy-and-paste Java code into a web page text box, then compile and run it completely within your browser. This is ideal for playing with the short example programs in many of these chapters. Another site that does this is https://ideone.com/
A German translation of these notes, done by Heinrich Gailer, is available at www.gailer-net.de/tutorials/java/java-toc.html.
Return to List of Courses Return To List of Courses
Introduction to Computer Science using Java is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Creative Commons License