(OPEN ELECTIVE)

 

OOPS THROUGH JAVA

 

L

T

 

P

C

 

 

 

 

 

 

 

3

1

 

0

3

 

 

 

 

 

 

 

 

 

 

 

 

III Year II Semester

 

Subject Code:

16CS6E06

 

 

 

 

 

 

 

 

 

 

 

Learning objectives:

 

             To make the students understand the fundamentals of Java programming and how to use Java to write applications.

 

             To train the learners to implement and use OOPs concepts in JAVA

 

Course Outcomes:

The student will be able to

 

CO

COURSE OUTCOME

BTL

 

 

 

CO1

Write, debug, and document well-structured Java applications

Understand

CO2

Apply decision and iteration control structures to implement

Apply

algorithms and classes from the specifications.

 

 

CO3

Implement inheritance and packages

Apply

CO4

Implement the Exceptions and Multithreading concepts

Apply

CO5

Develop java programs using applet class.

Apply

CO6

Create java programs using Abstract Window toolkit.

Create

 

The Mapping of CO and PO on 3 point scale{high-3,Medium-2,Low-1}is:

 

 

 

 

 

 

 

 

PO

 

 

 

 

 

 

 

 

PSO

 

CO

1

2

3

4

5

6

 

7

8

 

9

 

10

11

12

1

2

3

CO1

3

3

3

2

3

-

 

-

-

-

 

-

 

1

-

3

3

3

CO2

3

3

3

2

3

-

 

-

-

-

 

-

 

1

-

3

3

3

CO3

3

3

3

3

3

-

 

-

-

-

 

-

 

1

-

3

3

3

CO4

3

3

3

3

3

-

 

-

-

-

 

-

 

1

-

3

3

3

CO5

3

3

3

3

3

-

 

-

-

-

 

-

 

1

-

3

3

3

CO6

3

3

3

3

3

-

 

-

-

-

 

-

 

1

-

3

3

3

 

UNIT – I

 Introduction to OOP

 Introduction, Need of Object Oriented Programming, Principles of Object Oriented Languages, C++ vs Java, Applications of OOP, History of JAVA, Java Virtual Machine, Java Features, Program structures, Installation of JDK1.6 Variables , Primitive Data types, Identifiers- Naming Conventions, Keywords, Literals

 UNIT - II

 Programming Constructs

Operators- Binary, Unary and ternary, Expressions, Precedence rules and Associative, Primitive Type Conversion and Casting, Flow of control- Conditional, loops.,

 Classes and Objects-

 Classes, Objects, Creating Objects, Methods, constructors-Constructor overloading, cleaning up unused objects-Garbage collector, Class variable and Methods-Static keyword, this keyword, Arrays, Command line arguments.

 UNIT - III

 Inheritance:

 Types of Inheritance, Deriving classes using extends keyword, Method overloading, super keyword, final keyword, Abstract class

 Interfaces, Packages and Enumeration:

 Interface-Extending interface, Interface vs. Abstract classes, Packages-Creating packages, using Packages, Access protection, java.lang package.

 UNIT – IV

 Exceptions & Assertions

 Introduction, Exception handling techniques-try...catch, throw, throws, finally block, user defined exception, Exception Encapsulation and Enrichment, Assertions

 Multi-Threading:

 java.lang.Thread, the main Thread, Creation of new threads, Thread priority, Multithreading-Using isAlive () and join(), Synchronization, suspending and Resuming threads, Communication between Threads

 UNIT – V

 Input/output: reading and writing data, java.io package Applets- Applet class, Applet structure, An Example Applet Program, Applet Life Cycle, paint(),update() and repaint()

 UNIT                VI

 Event Handling

 Introduction, Event Delegation Model, java.awt. event Description, Sources of Events, Event Listeners, Adapter classes, Inner classes

 Abstract Window Toolkit

 Why AWT?, java.awt package, Components and Containers, Button, Label, Checkbox, Radio buttons, List boxes, Choice boxes, Text field and Text area, container classes, Layouts, Menu, Scroll bar

 

TEXT BOOKS:

 The Complete Reference Java, 9ed, Herbert Schildt, TMH 9th edition, 2014

 Programming in JAVA, Sachin Malhotra, Saurabh choudhary, Oxford university press india, 2nd edition, 2013.

REFERENCE BOOKS:

 JAVA Programming, K.Raj kumar. Pearson, 1st edition, 2013

 Object oriented programming with JAVA, Essentials and Applications, Raj KumarBuyya, Selvi, Chu TMH, 2009

Introduction to Java Programming, Y Daniel Liang, Pearson, 7th edition, 2009.

 Core Java Volume 1.Fundamentals, Cay S.Horstmann, Gray Cornell, Pearson8th edition, 2007.

 Advanced Programming in Java2: Updated to J2SE6 with Swing, Servlet and RMI, K.Somasundaram, jaico publishing house, 1st edition, 2008.

 URLs: 

https://www.tutorialspoint.com/java/java_object_classes.htm

 http://beginnersbook.com/2015/07/java-swing-tutorial/

 http://www.realapplets.com/tutorial/

 

 http://beginnersbook.com/2013/04/java-exception-handling/