Java Programming
EG 3116 CT (Elective)
Total:
7 hours /week
Year: III
Lecture: 4 hours/week
Semester: V
Practical:
3 hours/week
Course
Description:
This course covers different concepts of computer
programming using Java programming language. The course covers ideas of
programming including comments, data type, operators, variables, constants,
control statements, arrays, classes and objects, inheritance and interfaces,
packages, exception handling, and input/output.
Course
Objective:
The main objective of this course is to
• Introduce
Java programming environment
• Explain
programming elements using Java
• Describe
object-oriented programming concepts, interfaces, and packages
• Handle
exception and input/output
Course
Contents:
Unit
|
Topics
|
Contents
|
Hours
|
Methods/
Media
|
Marks
|
1
|
Introduction to Java
|
1.1. Java As a Programming Platform
1.2. The Java “White Paper” Buzzwords
1.3. A Short History of
Java
1.4. Writing Simple Java
Programs
|
(7
hrs.)
|
|
|
2
|
Fundamental
Programming
Structures
|
2.1. Writing Comments
2.2. Basic Data Types
2.3. Variables and
Constants
2.4. Operators
2.5. Type Casting
2.6. Control Flow
2.7. Arrays
|
(15
hrs.)
|
|
|
3
|
Objects and
Classes
|
3.1. An Introduction to ObjectOriented Programming
3.2. Using Predefined
Classes
3.3. Defining Your Own
Class
3.4. Static Fields and
Methods
3.5. Method Parameters
3.6. Object Construction
3.7. Packages
|
(15
hrs.)
|
|
|
4
|
Inheritance and Interfaces
|
4.1. Classes, Super classes, and Subclasses
4.2. Polymorphism
4.3. Dynamic Binding
4.4. Final Classes and
Methods
4.5. Abstract Classes
|
(12
hrs.)
|
|
|
143
Unit
|
Topics
|
Contents
|
Hours
|
Methods/
Media
|
Marks
|
|
|
4.6. Access Specifies
4.7. Interfaces
|
|
|
|
5
|
Exception
Handling
|
5.1. Dealing With Errors
5.2. Catching Exceptions
5.3. try, catch, throw, throws, and finally
|
(7
hrs.)
|
|
|
6
|
Input/output
|
6.1. Input/output Basics
6.2. Console Input and
Output
6.3. Reading and Writing
Files
|
(4
hrs.)
|
|
|
7
|
Laboratory Work:
|
7.1 Write simple programs
7.2 Write programs using different operators, comments and data
types.
7.3 Write programs using control statements and arrays
7.4 Write programs using concepts of classes, inheritance,
interface, and packages.
7.5 Write programs using file handling,
input/output, and exceptions
|
45
hrs
|
|
|
Recommended
Books:
a. Core
java Volume I – Fundamentals, Ninth Edition, Cary S. Horstmann and Gary Cornell
b. Java:
The Complete Reference, Ninth Edition, Herbert Schildt
c. Effective
Java, Third Edition, Joshua Bloch
d. Head
First Java, 2nd Edition, Kathy Sierra and Bert Bates
144
No comments:
Post a Comment