MASTER OF COMPUTER APPLICATION
SEMESTER: III
Subject
Name : Fundamentals of Java Programming
Subject
Code : 630002
Unit
|
TOPIC
|
1
|
Object Oriented
Programming And Introduction To Java, Data Types, Operators, Statements And
Defining Classes In Java
|
ü
Features of the Java Language, OO
Programming
ü
Creating an Application in Java, Compiling
and executing Applications in Java
ü
Program comments
ü
Primitive data types, Integer Data Types,
Floating Point Data Types, Reference Data types
ü
Arrays, single and multi-dimensional arrays
ü
Other reference types, classes, interfaces,
enums and annotations
ü
Unicode escapes in Java source code
ü
Understanding super types and subtypes.
ü
Operators - Arithmetic, String
concatenation, Relational, Logical, Bitwise, increment-decrement,
ü
conditional, assignment, cast and instance
of operators.
ü
Understanding the narrowing and widening
conversions of numeric data types.
ü
Statements - if, if-else, switch-case, for,
while, do-while, break, continue and return statements.
ü
Various members within a class
ü
instance variables
ü
methods and their overloading
ü
constructors and their overloading
ü
Garbage collector and finalize method
ü
static variables and methods
ü initializer
blocks and the class initializer blocks
|
|
2
|
Inheritance and
sub classing in Java and packages and use of access specifiers
|
ü
Defining subclasses
ü
Using super to use constructor of a
super-class, Method overriding and use of super, Variable shadowing and use
of super.
ü
Method and variable binding
ü
Using final with variables, methods and
classes
ü
Abstract classes and interfaces, Abstract
classes and abstract methods
ü
Single inheritance of classes, Interfaces
ü
Object class as the super class of all
classes, Methods inherited from the Object class
ü
Uses of package and import statements, use
of static imports
ü
Use of CLASSPATH for class loading
ü
Access specifiers, Access specifiers for
members of a package, Access specifiers for members of a class, Access
specifiers for overriding methods
ü
Using the Java APIs
ü
Commonly used classes from the java.
language package
ü
Comparable and Comparator interfaces
ü
String, String Buffer and the String
Builder classes
ü
Understanding pass by value and pass by
reference for Java
ü
Wrapper classes
ü Math
class constants and methods
|
|
3.
|
Exceptions,
Nested enum types and Collection framework
|
ü
Runtime stack and execution of application
ü
The return and the throw statements, The
return type and throws declaration in methods,Checked and the Unchecked
exception classes, The Throwable class
ü
Exception chaining, Handling exceptions
with try and catch, Use of the finally block, Creating custom exception
classes
ü
Member Types
ü
Top level nested classes and Inner classes,
The local class and anonymous classes
ü
The enum type
ü
classes from java.util package
ü
Date, Time Zone, Calendar and the Gregorian
Calendar classes
ü
Collection Framework, Collection interface,
Set and List interfaces, Map interface
ü
Generics in the Collection Framework
ü
Regular Expressions, Pattern and Matcher
classes
ü
Scanner class
ü Varargs
and the Formatter class
|
|
4.
|
Stream based I/O
and Multi-threading
|
ü
Stream classes, Output Stream and the
Writer classes, Input Stream and the Reader classes,
ü
Bridge classes Output Stream Writer and the
Input Stream Reader , Writing and reading from files using File Output Stream
and the File Input Stream
ü
Piped Streams, Array based streams, Filter
streams, Buffered streams, Print Stream and the Print
ü
Writer classes, Data and Object streams
ü
Random Access File
ü
Multi-threading, Thread class and thread of
execution, Creating a new Thread of execution, Thread Group, properties of
Thread instance, Daemon Threads
ü
Thread states, synchronization
ü Another
way of creating a thread of execution
|
|
5.
|
GUI Programming,
Building Applets and Introduction to Annotations
|
ü
Comparing AWT and swing features, AWT
Components, Overview of the AWT components, Component properties
ü
Graphics context
ü
Containers, Container class, Layout
Managers, Top-level containers
ü
Window class, Decorated windows Frame and
Dialog
ü
Panel class
ü
Events, Event Delegation Model, AWT Events
ü
Adapter classes
ü
Swing and MVC
ü
J component
ü
J option Pane
ü
Showing Message, Confirm and Input Dialogs
ü
Browser as a container for Applets
ü
Life-cycle of an Applet, Applet Stub and
Applet tag, Applet Context and the URL class., Applet class
ü Defining
a new annotation , Annotating a programming element, Annotation element names
and usage, Meta-annotations
|
Notes: Term work is to be carried out as per the
above syllabus.
Main Reference Book(s):
1)
Pravin Jain, “The class of Java” Pearson
Education, (2010).
2)
Cay S. Horstmann ,
Gary Cornell, “Core Java 2, Volume 1 – Fundamentals”, Pearson Education (8th
edition – 2008).
3)
Ivor Horton's “Beginning Java 2” JDK 5
Edition, Wiley Computer Publishing, (2007).
4)
Cay Horstmann, “Big Java”, Wiley Computer
Publishing (2nd edition – 2006).
Chapter wise Coverage from Main Reference Book(s):
1.
|
Book # 1
|
Ch.
1, Ch. 2 Except for section on Various tools in JDK and Using java doc, Ch.
3, Ch. 4, Ch. 5
|
2.
|
Book # 1
|
Ch. 6, Ch. 7, Ch. 8, Ch. 9 Except for sections on generating
java doc, commonly used packages from Java APIs, Ch. 10 Except for sections
on Unicode characters and using supplementary characters and Numeric values
requiring more than 64 bits.
|
3.
|
Book # 1
|
Ch. 11
Except for section on assertions, Ch. 12, Ch. 13 Except for sections on
Arrays class, Collections class and String To kenizer class.
|
4.
|
Book # 1
|
Ch. 14
Except for sections on Pushback streams and
|
5.
|
Book # 1
|
Ch. 17
Except for section on
|
Accomplishments of the Student after Completing the Course:
ü
Ability to create appropriate classes using
the Java Programming Language to solve a problem using Object Oriented
Approach.
ü
Ability to write console based and GUI based
applications in the Java Programming Language.
ü
Ability to develop to multi-threaded
applications using the Java Programming Language
ü
Ability to create Applets using the Java
Programming Language