Java 1: Basic syntax and semantics

Software Development
Review :
( 16 )
135 pages
Language:
 English
This book is the first in a series of books on software development in Java.
This is a free eBook for students
Sign up for free access
All student books free, forever. Less than 15% adverts
 
Free 30-day trial
Business subscription free for the first 30 days, then $5.99/mo
Latest Addition
About the author

Poul Klausen er uddannet cand. scient. i matematik fra Aarhus Universitet med speciale i algebraisk topologi. Efter universitetet og et efterfølgende pædagogikum har Poul Klausen primært arbejdet som underviser og det især inden for it uddannelser og gennem de sidste mange år som underviser på datamat...

Description
Content

This book is the first in a series of books on software development in Java. The subject is an introduction to Java with an emphasis on basic language syntax and semantics, but it is also a book about what programming in general is and how to practically write simple programs. The book requires no knowledge about programming or the language Java, and the goal is to show how to get started writing computer programs.

Click here to download the source files from this book.

  1. Introduction 
  2. Hello World 
    1. NetBeans 
    2. The source code 
    3. Run the program 
    4. The NetBeans project 
    5. gedit 
    6. Something about comments 
    7. Example: Kings 
  3. Commands and console programs 
    1. Commands 
    2. Example: PrintAddress 
    3. Console programs 
  4. Variables and data types 
    1. Operators 
    2. Literals 
    3. Objects 
    4. Example: Cubes 
    5. Arrays 
    6. Example: CupProgram 
    7. Multidimensional arrays 
  5. Program control 
    1. The if statement 
    2. do and while statements 
    3. The for statement 
    4. The switch statement 
    5. return statement 
    6. break and continue 
  6. ArrayList 
  7. Comparison and sorting 
  8. Files 
    1. Text files 
    2. Serialization of objects 
  9. Final example 
    1. Design 
    2. Programming and test