Object Oriented Programming Through Java is a subject in semester 3 of JNTUK R23 B.Tech. for AI&DS, AI&ML, CS, CSBS, CSD, CSE, CSE (AI&ML), CSE (IoT & CS), Cyber Security, IT. The full unit-wise syllabus is below.
| Subject name | Object Oriented Programming Through Java |
|---|---|
| Regulation | JNTUK R23 |
| Semester | 3 |
| Branches | Artificial Intelligence and Data Science, Artificial Intelligence and Machine Learning, CSE (IoT and Cyber Security including Blockchain Technology), Computer Science, Computer Science and Business Systems, Computer Science and Design, Computer Science and Engineering, Computer Science and Engineering (Artificial Intelligence and Machine Learning), Cyber Security, Information Technology |
| Category | Professional Core |
| Credits | 3 |
| Semester scheme | AI&DS · AI&ML · CS · CSBS · CSD · CSE · CSE (AI&ML) · CSE (IoT & CS) · Cyber Security · IT |
Course Objectives
The learning objectives of this course are to:
- identify Java language components and how they work together in applications
- Learnthe 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 APIs for program development
Unit I: Object Oriented Programming
Basic concepts, PrinciplesProgram 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.
Study Object Oriented Programming Through Java on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)
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 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, Threedimensional 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 m 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, Autoboxing 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 InterfaceJava 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
- JAVA one step ahead, Anitha Seth, B.L.Juneja, Oxford.
- Joy with JAVA, Fundamentals of Object Oriented Programming, DebasisSamanta, MonalisaSarma, Cambridge, 2023.
- JAVA 9 for Programmers, Paul Deitel, Harvey Deitel, 4th Edition, Pearson.
Reference Books
- The complete Reference Java, 11thedition, Herbert Schildt,TMH
- Introduction to Java programming, 7th Edition, Y Daniel Liang, Pearson
Online Resources
- https://nptel.ac.in/courses/106/105/106105191/
- https://infyspringboard.onwingspan.com/web/en/app/toc/lex_auth_012880464547618 816347_shared/overview
Study Object Oriented Programming Through Java on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)
Related Subjects
- Discrete Mathematics and Graph Theory
- Universal human values – understanding harmony and Ethical human conduct
- Digital Logic and Computer Organization
- Advanced Data Structures and Algorithm Analysis
- Advanced Data Structures and Algorithm Analysis Lab
- Object Oriented Programming Through Java Lab
- Python Programming Lab