B. Sc., COMPUTER SCIENCE (2022 – 2025 Batch)
Semester III
Paper Name: Programming in Java Paper Code: 22UCSCC33
Unit I :
Data
Types, Variables and Arrays: Primary types – Integers – Floating point types –
Characters – Booleans – A Closer Look at Literals – Variables – Type Conversion
and Casting – Automatic type Promotion in Expressions - One Dimensional Arrays–
Multi Dimensional Arrays. Operators: Arithmetic Operators – Bitwise operators –
Relational Operators – Boolean Logical Operators – Assignment Operator –
Conditional Operator – Operator Precedence-Using parentheses.
Unit II:
Introducing
Classes: Class Fundamentals – Declaring objects- Assigning object Reference
variables- Introducing Methods- Constructors-Garbage collection – Finalize()
Method A Closer Look at Methods and classes: Overloading Methods-Using objects
as parametersArgument passing –Returning objects- Recursion-Introducing Access
control – understanding static –Introducing final – Nested and Inner classes-
String class- Using command line arguments. Inheritance: Inheritance Basics
–Using super- creating Multilevel Hierarchy - Method overriding –Dynamic Method
Dispatch –Using Abstract class –Using final with inheritance-The object class.
Unit III:
Packages
and interfaces: Packages –Access Protection – Importing packages-Interfaces.
Exception Handling: Introduction- Exception Types – Uncaught Exceptions- Using
try and catch – Multiple catch clauses –Nested try statements- throw –
throws-finally. Multithreaded programming : Java Thread Model –Main Thread
–Creating a Thread –Creating Multiple Threads – Using is Alive() and join()
–Thread priorities
Unit IV:
The
Applet class: Applet Basics – Applet Architecture –Applet Skeleton- Applet
Display method –Requesting Repainting – HTML APPLET tag- Passing Parameters to
Applet. Event Handling: Event Handling Mechanisms –Delegation Event Model
–Event classes(The Action Event ,Item Event , Key Event, Mouse Event) – Sources
of Events - Event Listener Interfaces(Action Listener, Item Listener, Key
Listener, Mouse Listener).
Unit V:
Introducing
the AWT: AWT Classes – Window fundamentals – working with Frame Windows
–working with Graphics– Working with color – Working with Fonts. Using AWT
Controls: Controls Fundamentals – Labels – Using Buttons –Applying check Boxes
– Check Box group – Choice Controls – Using a Text field – Using a Text Area –
Understanding Layout Managers [Flow Layout Only ] – Menu Bars and Menus.
Text Books
1. Herbert Schildt, “Java - The Complete Reference”, Ninth Edition, McGrawHill
Education, 2014
Supplementary
Readings
1. E. Balagurusamy, “Programming with Java”, Tata McGraw-Hill Education India, 2014
2. Sachin Malhotra & Saurabh Choudhary, “Programming in JAVA”, 2nd Ed, Oxford
Press
3. Sagayaraj, Denis, Karthik and Gajalakshmi,
“JAVA Programming for Core and Advanced
Learners”, 2018

No comments:
Post a Comment