Upon conclusion participants
will have acquired these skills:
- Explain key concepts related to Java technology
and Java programming
- Illustrate the use of decision constructs
and loops
- Depict the creation of Java classes
- Illustrate the development and usage of methods
- Depict the creation and use single and multi-dimensional
arrays
- Understand the use inheritance to extend
classes
- Illustrate how to handle runtime exceptions
- Understand inheritance and polymorphism
- Depict the parse strings using String, StringBuffer
and StringTokenizer
- Examine basic Java language fundamentals
(data types, control flow structures, arrays)
U
- Use of Class creation
- Method creation
- Method overloading
- Use of Container classes (Vector, ArrayList,
Hashtable)
- Depict Object oriented concepts (Inheritance,
polymorphism)
- Exceptions Interfaces
Prerequisites
Each student should have a basic understanding of the application development process, the use of Java and the functional abilities of the Rational Functional Tester.
Class Format
Lecture and Lab
Course duration
1 Day
Course outline
Introduction
to OO Concepts
- Depict differences with procedural
- Basic tenets of OO
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
- Understand the role of a Class
- Basic Class attributes
- Properties
- Methods
- Interfaces
- Super Class concept
Java Data Types
and Variables
- Java primitives
- int
- short
- byte
- boolean
- float
- double
- Integer data types
- Assignment statements
- Increment/Decrement
- Prefix/Postfix
- Use of explicit casting
- String
- Character and Boolean
Role
of Exception Handling
- Defining Exceptions
- Error vs Exception classes
- Runtime exception errors
- throws statement
- try/catch blocks
- finally block
- Execution patterns
- throw statement
Java
Arrays
- Defining arrays
- Array declaration
- Accessing array elements
- Substituting array length
- Multi-dimensional arrays
Java
Class Definitions
- Class vs instance variables
- Class vs instance methods
- Java class definition structure
- Parameter passing
- Passing parameters
- Static method calls
- Initialization blocks
- Constructors
- Variable vs Object declaration
- Method overloading
- Java packages
- package statement
- Class access options: public, private,
protected
Java
Collections
- Defining Container Classes
- Depict classes
- List
- Iterator
- HashMap
- Vectors