Java Basic Level (JB-2d)
Program for day 1
Program for day 2
Basic Level day 1 Part A
Aims :
Java: What is it?
Simple
Object Oriented
Distributed
Interpreted
Robust
Secure
Architecture Neutral
Portable
High - Performance
Dynamic
Java’s Timeline
Java’s Versions
Java’s Genealogy
Java vs C++
Java : Types of Programs
Using the JDK
The First Java Program
Summary
Exercises
PPT Slide
Basic Level day 1 Part B
Aims
Java’s Basic Syntax
Comments
Identifiers
Keywords
Simple Types - Datatypes
Complex Types
Type Issues
Variable Declaration
Constants
A Simple Example (with 1 error!)
Operators Precedence
Operation Examples
Branching - if - else
Branching - switch-case-default
Looping Constructs, while
Looping Constructs, do-while
Looping Constructs, for
Labeled blocks and branching
Naming Conventions
Quiz
Basic Level day 1 Part C
Arrays in Java
Declaring Arrays
Using Arrays
Method - Functions
Example Using Methods
Passing Arguments
Example Passing Arguments
The String Object
String’s Methods
The String + Operator
Converting Strings
Using String Example
Basic Level day 1 Part D
What OO Systems are?
OO Software Engineering
The Object Model
Elements of the object model
Abstraction
Encapsulation
Modularity
Hierarchy
Typing
Concurrency
Persistence
Creating and Using Objects
Example of a Class and its Instance
Constructors
Methods
Calling methods
Inheritance
Inheritance Example
Abstract
Interfaces
Java Basic Level day1
Email: azt@cs.nott.ac.uk
Home Page: www.cs.nott.ac.uk/~azt