Programme : B.
Sc Computer Science Part III : Core
Semester : VI Hours : 6 P/W 90Hrs P/S
Sub. Code : S61 Credits : 5
TITLE OF THE PAPER: ADVANCED JAVA PROGRAMMING
UNIT I : Fundamentals of Object Oriented Programming – Basic Concepts of Object Oriented
Programming – Benefits of OOP – Applications of OOP – Java Evolution – Java History – Java Features
– How Java Differs From C & C++ - Java and Internet- Java and World Wide Web – Web Browsers –
Hardware and Software Requirements – Java Support System – Java Environment - Simple Java Program
– Java Tokens – Java Statements - Java Virtual Machine – Constants – Variables – Data Types –
Declaration of Variables – Giving Values to Variables - Scope of Variables – Symbolic Constants - Type
Casting.
UNIT II : Operators and Expressions – Arithmetic Operators – Relational Operators – Logical Operators
– Assignment Operators – Increment and Decrement Operators – Conditional Operator – Bitwise
Operators – Special Operators – Arithmetic Expressions – Evaluation of Expressions – Precedence of
Arithmetic Operators – Type Conversion in Expressions – Operator Precedence and Associativity -
Decision Making and Branching – Decision Making and Looping – Classes, Objects and Methods –
Arrays, Strings and Vectors.
UNIT III : Interface Multiple Inheritance – Defining Interfaces – Extending Interfaces – Implementing
Interfaces – Accessing Interface Variables – Packages – Introduction – Java API Packages – Using
System Packages – Naming Conventions – Creating Packages – Accessing a Package – Using a Package
– Adding a Class to a Package.
UNIT IV : Multithreaded Programming – Introduction – Creating a Thread – Extending a Thread Class –
Stopping and Blocking a Thread – Life Cycle of a Thread – Using Thread Methods - Thread Exceptions –
Thread Priority - Synchronization – Implementing the Runnable Interface - Inter-thread Communication -
Managing Errors and Exceptions – Introduction – Types of Errors – Exceptions – Syntax of Exception
Handling Code – Multiple Catch Statement – Using Finally Statement – Throwing Our Own Exceptions.
UNIT V : Applet Programming – Introduction – Building Applet Code – Applet Life Cycle – Creating an
Executable Applets – Designing a Web Page – Applet Tag – Adding Applet to HTML Files - Running the
Applet – More About Applet Tag - Passing Parameters to Applets – Graphics Programming - Managing
IO Files in Java – Concept of Streams – Stream Classes - Creation of Files – Handling Primitive Data
Types – Concatenating and Buffering Files.
TEXT BOOK:
1. Programming with Java, A Primer – by E. Balagurusamy TMH, 4th edition, 2010.
CHAPTERS:
UNIT I : CHAPTERS 1 - 1.3, 1.4, 1.5, 2 - 2.1 TO 2.9, 3 - 3.2, 3.6, 3.7, 3.10, 4- 4.1 TO 4.9.
UNIT II : CHAPTERS 5 - 5.1 TO 5.14, 6 - 6.1 TO 6.8, 7 - 7.1 TO 7.6, 8 - 8.1 TO 8.16, 9 - 9.1 TO
9.7.
UNIT III : CHAPTERS 10 - 10.1 TO 10.5, 11 - 11.1 TO 11.8.
UNIT IV : CHPATERS 12 - 12.1 TO 12.10, 13 - 13.1 TO 13.7.
UNIT V : CHAPTERS 14 - 14.1 TO 14.12, 15 – 15.1 TO 15.9, 16 - 16.2 TO 16.14
REFERENCE BOOK(S):
1. The Complete Reference – Java by Patric Naughton and Herbert Schildt – TMH Ltd.
2. The Java Programming Languages – by Ken Arnold James Gosling, Addison Wesley, II – Edition
1998.