PDA

View Full Version : Table of contents for Java language course 2011



Support
04-28-2011, 07:41 PM
These are the java language course table of content which should cover while you are studying this course.
Table of Contents
Chapter No.1 Java Fratures 12
1.1 Designing Goals of Java 12
1.2 Right Language, Right Time 12
1.3 Java Buzzwords 12
1.4 Java Language + Libraries 12
1.5 Simple 12
1.6 Object Oriented 13
1.7 Distributed/Network Oriented 13
1.8 Robust/Secure/Safe 13
1.9 Portable 14
1.10 Support for Web & Enterprise Web Applications 14
1.11 High Performance 14
1.12 Multi Threaded 14
1.13 Dynamic 14
1.14 Java Compiler Structure 14
1.15 Java Programmer Efficiency 15
1.16 OOP 15
1.17 Libraries 15
1.18 Microsoft vs. Java 15
Chapter No.2 Java Virtual Machine & Runtime Enviornment 16
2.1 Basic Concepts 16
2.2 Byte Code 17
2.3 Java Virtual Machine (JVM) 17
2.4 Java Runtime Environment (JRE) 18
2.5 2.5.1 Edit 20
Java Program Development and Execution Steps 19
2.5.2 Compile 20
2.5.3 Loading 20
2.5.4 Verify 21
2.2.5 Execute 21
2.6 Installation & Environment Setting 22
2.6.1 Installation 22
2.6.2 Environment Setting 22
2.7 First Program in Java 26
2.8 HelloWorldApp 26
2.9 HelloWorldApp Description 27
2.10 Compiling & Running HelloWorldApp 28 2.11 Points to Remember 28
2.12 An Idiom Explained 29
Chapter No.3 Learning Basics 30
3.1 Strings 30
3.1.1 String Concatenation 30
3.1.2 Comparing Strings 30
3.2 Command Line Arguments 32
3.3 Primitives vs. Objects 34
3.4 Stack vs. Heap 34
Web Design & Development – CS506 VU

3.5 Wrapper Classes 35
3.6 Wrapper Use 35
3.7 Converting String to Numeric Primitive Data Types 35
3.8 Input/Output Example 37
3.9 Selection & Control Structure 38
Chapter No.4 Object Oriented Programming 40
4.1 OOP Vocabulary Review 40
4.1.1 Class 40
4.1.2 Object 40
4.1.3 Constructor 40
4.1.4 Attributes 40
4.1.5 Methods 40
4.2 Defining a Class 41
4.3 Comparison with C++ 41
4.4 Defining a Student Class 43
4.5 Getters/Setters 43
4.6 Using a Class 45
4.7 Static 47
4.8 Garbage Collection & Finalize 47
Chapter No.5 Inheritance 52
5.1 Comparison with C++ 52
5.2 Object (Root Class) 56
5.3 Polymorphism 57
5.4 Type Casting 59
5.4.1 Up-Casting 59
5.4.2 Down-Casting 59
Chapter No.6 Collections 60
6.1 Collection Design 60
6.2 Collection Messages 60
6.3 ArrayList 61
6.3.1 Useful Methods 61
6.4 HashMap 62
6.4.1 Useful Methods 62
6.5 Address Book 65
6.5.1 Problem 65
6.5.2 Approach for Solving Problem 65
Chapter No.7 Intro to Exceptions 70
7.1 Types of Errors 70
7.1.1 Syntax Errors 70
7.1.2 Logical Errors 70
7.3.1 Runtime Errors 70
7.2 What is an Exception? 70
7.3 Why Handle Exceptions? 70
7.4 Exceptions in Java 71
7.5 Exceptions Hierarchy 71
7.5 Types of Exceptions 72
Web Design & Development – CS506 VU
© Copyright Virtual University of Pakistan 3
7.5.1 Unchecked Exceptions 72
7.5.2 Checked Exceptions 72
7.6 How Java Handles exceptions 72
7.6.1 try Block 72
7.6.2 catch block 72
7.6.3 finally block 72
7.6.4 throw 74
7.6.5 throws 74
7.7 Examples of Unchecked Exceptions 75
7.8 Examples of Checked Exceptions 77
7.9 The finally Block 79
7.10 Multiple catch blocks 80
7.11 The throws clause 82
7.12 printStackTrace Method 83
Chapter No.8 Streams 85
8.1 The Concept of Streams 85
8.2 Types of Systems 86
8.3 Stream Classification Based on Functionality 86
8.4 Example of Reading from File 88
8.5 Example of Writing to File 89
Chapter No.9 Modification of Address Book Code 90
9.1 Adding Persistence Functionality 90
9.1.1 Scenario 1- Startup 90
9.1.2 Scenario 2- End/Finish up 93
9.2 Abstract Classes & Interfaces 96
9.3 Problems & Requirements 96
9.4 Abstract Classes 96
9.4.1 Example of Abstract Classes 97
9.5 Interfaces 98
9.5.1 Defining an Interface 98
9.5.2 Implementing Interface 98
9.5.3 Example of Interface 98
9.5.4 Interface Characteristics 99
9.5.5 Example: Interface Based Polymorphism 100
Chapter No.10 Graphical User Interfaces 102
10.1 Support for GUI in Java 102
10.2 GUI Classes vs. Non GUI Support Classes 102
10.3 java.awt package 102
10.4 javax.swing package 102
10.5 A Part of the framework 103
10.6 GUI Creation Steps 104
10.6.1 import required package 104
10.6.2 Setup the Top Level Containers 104
10.6.3 Get the Component Area of Top Level Container 105
10.6.4 Apply Layout to Component Area 105
10.6.5 Create & Add Components 106
10.6.6 Set Size of Frame & Make it Visible 106