1. To understand Object Oriented Programming concepts and basic characteristics of Java.
2. To know the principles of packages, inheritance and
interfaces.
3. To define exceptions and use I/O streams.
4. To develop a java application with threads and generics
classes.
5. To design and build simple Graphical User Interfaces
Unit I INTRODUCTION TO OOP AND JAVA FUNDAMENTALS 10
Object Oriented Programming - Abstraction – Objects And Classes - Encapsulation- Inheritance -Polymorphism- OOP In Java –Fundamental Programming Structures In Java – Defining Classes In Java – Constructors, Methods -Access Specifiers - Static Members - Arrays , Packages – Defining Packages – Finding Packages And CLASSPATH -Importing Packages - Packages Types , Javadoc Comments .
SUGGESTED ACTIVITIES:
● Programs and Demonstration using simple Java programs Using Java Basic Constructs and Arrays
● Understanding JVM
SUGGESTED EVALUATION METHODS:
● Assignment problems
● Quizzes
Unit II INHERITANCE AND INTERFACES 9
Inheritance – Super classes- sub classes –Protected members – constructors in sub classes- the Object class – abstract classes and methods- final methods and classes – Interfaces – defining an interface, implementing interface, differences between classes and interfaces and extending interfaces - Object cloning -inner classes, ArrayLists– String Handling.
SUGGESTED ACTIVITIES:
● Programs and Demonstration of Java programs – use abstract classes, final methods and classes and interfaces
● Programs and Demonstration of Java programs – using String class, ArrayList , Creating class and objects
● Programs using Inheritance and Interfaces
SUGGESTED EVALUATION METHODS:
● Assignment problems
● Quizzes
Unit III EXCEPTION HANDLING AND I/O 9
Exceptions - exception hierarchy - throwing and catching exceptions – built-in exceptions, creatingown exceptions, Stack Trace Elements. Input / Output Basics – Streams – Byte streams andCharacter streams – Reading and Writing Console – Reading and Writing Files, Standard IDE like NETBEANS / ECLIPSE.
SUGGESTED ACTIVITIES:
● Programs and Demonstration using exception handling and Streams using any standard IDE like NETBEANS / ECLIPSE
● Develop an application threading
SUGGESTED EVALUATION METHODS:
● Demonstration of real-world application using exception handling and Streams
● Assignments
Unit IV MULTITHREADING AND GENERIC PROGRAMMING 8
Differences between multi-threading and multitasking, thread life cycle, creating threads, synchronizing threads, Inter-thread communication, daemon threads, thread groups. Generic Programming – Generic classes – generic methods – Bounded Types – Restrictions and Limitations
SUGGESTED ACTIVITIES:
● Programs and Demonstration of java program using multithreading and Generic programming
SUGGESTED EVALUATION METHODS:
● Assignment problems
● Quizzes
Unit V EVENT DRIVEN PROGRAMMING 9
Graphics programming - Frame – Components - working with 2D shapes - Using color, fonts, andimages - Basics of event handling - event handlers - adapter classes - actions - mouse events – AWTevent hierarchy - Introduction to Swing – layout management - Swing Components –Windows–Menus– Dialog Boxes- Study of Spring Framework , Hibernate Framework .
SUGGESTED ACTIVITIES:
● Programs and Demonstration using graphics programming and components
● Programs and Demonstration of Mouse, key events, creating interactive forms using AWT/Swing and adding functionality
● Understand AWT and SWING
SUGGESTED EVALUATION METHODS:
● Assignments
Total Hours: 45
Course Outcomes:
CO1: Develop Java programs using OOP principles
CO2: Develop Java programs with the concepts inheritance and
interfaces
CO3: Build Java applications using exceptions and I/O streams
CO4: Develop Java applications with threads and generics classes
CO5: Design and build simple Graphical User Interface.
CO6: Develop interactive Java programs using swings.
Text Books
1. Herbert Schildt, “Java The complete reference”, 8th Edition, McGraw Hill
Education, 2011.
2. Cay S. Horstmann, Gary cornell, “Core Java Volume –I Fundamentals”, 9th Edition, Prentice Hall, 2013.
Reference Books
1. Paul Deitel, Harvey Deitel, “Java SE 8 for programmers”, 3rd Edition, Pearson, 2015.
2. Steven Holzner, “Java 2 Black book”, Dreamtech press, 2011.
3. Timothy Budd, “Understanding Object-oriented programming with Java”, Updated
Edition, Pearson Education, 2000
4. Felipe Gutierrez , Introducing Spring Framework: A Primer 1st ed. Edition, Kindle
Edition , 2014.