0% found this document useful (0 votes)
22 views6 pages

R20_Java_Syllabus

R20_Java_Syllabus

Uploaded by

ramesh.n
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
22 views6 pages

R20_Java_Syllabus

R20_Java_Syllabus

Uploaded by

ramesh.n
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

R 20 Regulations

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY ANANTAPUR


Computer Science & Engineering
Course Code: Object Oriented Programming through Java (20A05302T)
(Common to CSE, IT, CSE (AI), CSE (AI & ML) and AI&DS)
Course Objectives:
 To understand object oriented concepts and problem solving techniques
 To obtain knowledge about the principles of inheritance and polymorphism
 To implement the concept of packages, interfaces, exception handling and
concurrency mechanism.To design the GUIs using applets and swing controls.
 To understand the Java Database Connectivity Architecture
Course Outcomes (CO):
After completion of the course, students will be able to
 Solve real-world problems using OOP techniques.
 Apply code reusability through inheritance, packages and interfaces
 Solve problems using java collection framework and I/O classes.
 Develop applications by using parallel streams for better performance.
 Develop applets for web applications.
 Build GUIs and handle events generated by user interactions.
 Use the JDBC API to access the database
UNIT - I Introduction 8Hrs
Introduction: Introduction to Object Oriented Programming, The History and Evolution of
Java, Introduction to Classes, Objects, Methods, Constructors, this keyword, Garbage
Collection, Data Types, Variables, Type Conversion and Casting, Arrays, Operators, Control
Statements, Method Overloading, Constructor Overloading, Parameter Passing, Recursion,
String Class and String handling methods.
UNIT - II Inheritance, Packages, Interfaces 9Hrs
Inheritance: Basics, Using Super, Creating Multilevel hierarchy, Method overriding,
Dynamic Method Dispatch, Using Abstract classes, Using final with inheritance, Object
class, Packages: Basics, Finding packages and CLASSPATH, Access Protection, Importing
packages. Interfaces: Definition, Implementing Interfaces, Extending Interfaces, Nested
Interfaces, Applying Interfaces, Variables in Interfaces.
UNIT - III Exception handling, Stream based I/O (java.io) 9Hrs
Exception handling - Fundamentals, Exception types, Uncaught exceptions, using try and
catch, multiple catch clauses, nested try statements, throw, throws and finally, built-in
exceptions, creating own exception subclasses.
Stream based I/O (java.io) – The Stream classes-Byte streams and Character streams,
Reading console Input and Writing Console Output, File class, Reading and Writing Files,
Random access file operations, The Console class, Serialization, Enumerations, Autoboxing,
Generics.
UNIT - IV Multithreading, The Collections Framework (java.util) 8Hrs
Multithreading: The Java thread model, Creating threads, Thread priorities, Synchronizing
threads, Interthread communication.
The Collections Framework (java.util): Collections overview, Collection Interfaces, The
Collectionclasses- Array List, Linked List, Hash Set, Tree Set, Priority Queue, Array Deque.
Hashtable, Properties, Stack, Vector, String Tokenizer, Bit Set, Date, Calendar, Random,
Formatter, Scanner.
UNIT - V Applet, GUI Programming with Swings, Accessing Databases with JDBC
8Hrs
Applet: Basics, Architecture, Applet Skeleton, requesting repainting, using the status
window, passing parameters to applets GUI Programming with Swings – The origin and
design philosophy of swing, components and containers, layout managers, event handling,
using a push button, jtextfield, jlabel and image icon, the swing buttons, jtext field,
jscrollpane, jlist, jcombobox, trees, jtable, An overview of jmenubar, jmenu and jmenuitem,
creating a main menu, showmessagedialog, showconfirmdialog, showinputdialog,
showoptiondialog, jdialog, create a modeless dialog.
Accessing Databases with JDBC: Types of Drivers, JDBC Architecture, JDBC classes and
Interfaces, Basic steps in developing JDBC applications, Creating a new database and table
with JDBC.
Textbooks:
1. Java The complete reference, 9 th edition, Herbert Schildt, McGraw Hill Education
(India) Pvt. Ltd.
2. Java How to Program, 10 th Edition, Paul Dietel, Harvey Dietel, Pearson Education.
Reference Books:
1. Understanding Object-Oriented Programming with Java, updated edition, T. Budd,
Pearson Education.
2. Core Java Volume – 1 Fundamentals, Cay S. Horstmann, Pearson Education.
3. Java Programming for core and advanced learners, Sagayaraj, Dennis, Karthik and
Gajalakshmi, University Press
4. Introduction to Java programming, Y. Daniel Liang, Pearson Education.
5. Object Oriented Programming through Java, P. Radha Krishna, University Press.
6. Programming in Java, S. Malhotra, S. Chaudhary, 2nd edition, Oxford Univ. Press.
7. Java Programming and Object-oriented Application Development, R.A. Johnson,
B.Tech. – Computer Science & Engineering JNTUA R23 Regulations
II Year B.Tech. CSE – I Semester L T P C: 3003
(23A05303T) OBJECT-ORIENTED PROGRAMMING THROUGH JAVA
Course Objectives: The learning objectives of this course are to:
 Identify Java language components and how they work together in applications
 Learn the fundamentals of object-oriented programming in Java, including defining
classes, invoking methods, using class libraries.
 Learn how to extend Java classes with inheritance and dynamic binding and how to
use exception handling in Java applications
 Understand how to design applications with threads in Java
 Understand how to use Java api’s for program development
Course Outcomes: After completion of the course, students will be able to
 Analyse problems, design solutions using OOP principles, and implement them
efficiently in Java. (L4)
 Design and implement classes to model real-world entities, with a focus on attributes,
Behaviours, and relationships between objects (L4)
 Demonstrate an understanding of inheritance hierarchies and polymorphic behaviour,
Including method overriding and dynamic method dispatch. (L3)
 Apply Competence in handling exceptions and errors to write robust and fault-tolerant
code.(L3)
 Perform file input/output operations, including reading from and writing to files using
Java I/O classes, graphical user interface (GUI) programming using JavaFX. (L3)
 Choose appropriate data structure of Java to solve a problem (L6)
UNIT I: Object Oriented Programming: Basic concepts, Principles, Program Structure in
Java:
Introduction, Writing Simple Java Programs, Elements or Tokens in Java Programs, Java
Statements,
Command Line Arguments, User Input to Programs, Escape Sequences Comments,
Programming
Style.
Data Types, Variables, and Operators :Introduction, Data Types in Java, Declaration of
Variables,
Data Types, Type Casting, Scope of Variable Identifier, Literal Constants, Symbolic
Constants,
Formatted Output with printf() Method, Static Variables and Methods, Attribute Final,
Introduction
to Operators, Precedence and Associativity of Operators, Assignment Operator ( = ), Basic
Arithmetic Operators, Increment (++) and Decrement (- -) Operators, Ternary Operator,
Relational
Operators, Boolean Logical Operators, Bitwise Logical Operators.
Control Statements: Introduction, if Expression, Nested if Expressions, if–else Expressions,
Ternary
Operator?:, Switch Statement, Iteration Statements, while Expression, do–while Loop, for
Loop,
Nested for Loop, For–Each for Loop, Break Statement, Continue Statement.
UNIT II: Classes and Objects: Introduction, Class Declaration and Modifiers, Class
Members,
Declaration of Class Objects, Assigning One Object to Another, Access Control for Class
Members,
Accessing Private Members of Class, Constructor Methods for Class, Overloaded
Constructor
Methods, Nested Classes, Final Class and Methods, Passing Arguments by Value and by
Reference,
Keyword this.
Methods: Introduction, Defining Methods, Overloaded Methods, Overloaded Constructor
Methods,
Class Objects as Parameters in Methods, Access Control, Recursive Methods, Nesting of
Methods,
Overriding Methods, Attributes Final and Static.
UNIT III: Arrays:Introduction, Declaration and Initialization of Arrays, Storage of Array in
Computer Memory, Accessing Elements of Arrays, Operations on Array Elements, Assigning
Array
B.Tech. – Computer Science & Engineering JNTUA R23 Regulations
to Another Array, Dynamic Change of Array Size, Sorting of Arrays, Search for Values in
Arrays,
Class Arrays, Two-dimensional Arrays, Arrays of Varying Lengths, Three-dimensional
Arrays,
Arrays as Vectors.
Inheritance:Introduction, Process of Inheritance, Types of Inheritances, Universal Super
Class-
Object Class, Inhibiting Inheritance of Class Using Final, Access Control and Inheritance,
Multilevel
Inheritance, Application of Keyword Super, Constructor Method and Inheritance, Method
Overriding,
Dynamic Method Dispatch, Abstract Classes, Interfaces and Inheritance.
Interfaces:Introduction, Declaration of Interface, Implementation of Interface, Multiple
Interfaces,
Nested Interfaces, Inheritance of Interfaces, Default Methods in Interfaces, Static Methods in
Interface, Functional Interfaces, Annotations.
UNIT IV: Packages and Java Library:Introduction, Defining Package, Importing Packages
and
Classes into Programs, Path and Class Path, Access Control, Packages in Java SE, Java.lang
Package
and its Classes, Class Object, Enumeration, class Math, Wrapper Classes, Auto-boxing and
Auto-
unboxing, Java util Classes and Interfaces, Formatter Class, Random Class, Time Package,
Class
Instant (java.time.Instant), Formatting for Date/Time in Java, Temporal Adjusters Class,
Temporal
Adjusters Class.
Exception Handling: Introduction, Hierarchy of Standard Exception Classes, Keywords
throws and
throw, try, catch, and finally Blocks, Multiple Catch Clauses, Class Throwable, Unchecked
Exceptions, Checked Exceptions.
Java I/O and File: Java I/O API, standard I/O streams, types, Byte streams, Character
streams,
Scanner class, Files in Java(Text Book 2)
UNIT V: String Handling in Java:Introduction, Interface Char Sequence, Class String,
Methods for
Extracting Characters from Strings,Comparison, Modifying, Searching; Class String Buffer.
Multithreaded Programming:Introduction, Need for Multiple Threads Multithreaded
Programming
for Multi-core Processor, Thread Class, Main Thread-Creation of New Threads, Thread
States, Thread
Priority-Synchronization, Deadlock and Race Situations, Inter-thread Communication -
Suspending,
Resuming, and Stopping of Threads.
Java Database Connectivity:Introduction, JDBC Architecture, Installing MySQL and MySQL
Connector/J, JDBC Environment Setup, Establishing JDBC Database Connections, ResultSet
Interface
Java FX GUI: Java FX Scene Builder, Java FX App Window Structure, displaying text and
image,
event handling, laying out nodes in scene graph, mouse events (Text Book 3)
Text Books:
1. JAVA one step ahead, Anitha Seth, B.L.Juneja, Oxford.
2. Joy with JAVA, Fundamentals of Object Oriented Programming, DebasisSamanta,
MonalisaSarma, Cambridge, 2023.
3. JAVA 9 for Programmers, Paul Deitel, Harvey Deitel, 4th Edition, Pearson.
References Books:
1. The complete Reference Java, 11thedition, Herbert Schildt,TMH
2. Introduction to Java programming, 7th Edition, Y Daniel Liang, Pearson
Online Resources:
1. https://nptel.ac.in/courses/106/105/106105191/
2.
https://infyspringboard.onwingspan.com/web/en/app/toc/lex_auth_012880464547618816347
_shared/overvie

You might also like