BIT ITE1122 Fundamentals of programming – Java Code


Here is a curated list of java code from BIT “ITE1122 Fundamentals of programming” module. Most of the code is written by me, some may be adapted from the powerpoint notes. You are free to use them as you wish. I appriciate your feedback to improve/bugfix these code snippets.

Week 1 : Overview of programming

I generally conduct a session on “Scratch” to introduce the concepts of “Sequence : Selection : Repetition”. Checkout these links.

Week 2 : Installing an IDE for Java coding

There are so many grat IDEs available for Java. Here are some.

 * Testing Java for the fist time
 * Downloaded from:

 * @author azmeer
 * This is my main class
public class Hello {

	 * @param args
	 * This is the most important and default method
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		System.out.println("Hello world, welcome to Java.");

Week 3 : Symbolic design

We talk about top-down and botoom-up approach, flow charts, pseudo code.

Week 4 : Loops (alos known as Repetition or Iteration)

Week 5 : Boxing and unboxing

We convert (or wrap) primitive data types with classes. This gives a lot of power to the data type. We also talk about Java single dimension arrays. We finish with Data Time processing. Remember Java v8 has updated these functions. 



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.