Introductory Java

From Wikiversity
Jump to navigation Jump to search

Introduction to Java[edit | edit source]

  • School of Computer Science
  • Catagory: Programming Language


Course Outline[edit | edit source]

This course deals with the basic principles of the Java programming language. To be fully competent in both Java and programming, at least two courses will be needed, an Introductory course, and an Algorithms course. This course is the first of those two.

    • Please note that there is currently no instructor for this course, and that the page is still being built. Both myself and other people will be updating it over the next few weeks.


There are two modules in this course.


The first module is Introduction To Programming. It covers variables, indentation, functions, and the other basic aspects of propgramming; aspects that are shared amongst all programming languages.

  • If you have already taken this module from another course, you do not need to take it here.

Instead, use the first module as a reference, and proceed to module two.


The second module is Introduction To Java, and covers the aspects of Java that are unique to that language.


Prerequisites[edit | edit source]

There are no prerequisites for this course.


Post-requisites[edit | edit source]

This course allows...

Text[edit | edit source]

The textbook for this course will be the Java wikibook. Additional resources will be listed below.


Lessons[edit | edit source]

Module 1: Introduction To Programming[edit | edit source]

Lesson 1: Introduction[edit | edit source]

Lesson 2: Variables and Operators[edit | edit source]

Lesson 3: Comments[edit | edit source]

Lesson 4: Conditional Statements[edit | edit source]

  • If, else if, else
  • Ternary operator
  • Switch

Lesson 5: Loops[edit | edit source]

  • While
  • Do While
  • For

Lesson 6: Datatypes[edit | edit source]

  • Arrays
  • Lists


Module 2: Introduction To Java[edit | edit source]

Lesson 7: Strings and Output[edit | edit source]

  • Strings in Java
  • Output

Lesson 8: Input[edit | edit source]

  • Input in Java

Lesson 9: Collections[edit | edit source]

  • Vectors
  • Lists
  • Hash Maps

Lesson 10: Sorting and Comparing[edit | edit source]

  • Comparable
  • Quick sort

Lesson 11: Classes[edit | edit source]

  • classes

Lesson 12: Exceptions[edit | edit source]

  • ditto

Lesson 13: Inheritance and Abstraction[edit | edit source]

  • ditto