RTMNU · Second Year B.Tech Artificial Intelligence & Data Science · NEP 2020
Object Oriented Programming
BAD3T10 · Semester III · 2 credits · College 30 + university 70
A 2-credit course.
Unit 1: Java Basics
8 hoursHistory of Java, the JVM, JRE and JDK; data types, wrapper classes, variables and operators; objects and classes, constructors and visibility modifiers; selection and looping, methods, the Math class and arrays.
Examined in the 70-mark end-semester paper
- Object-oriented ideas and the Java platform
- Java data types, variables and operators
- Wrapper classes and autoboxing
- Constructors, access control and this
- Control structures and loops in Java
- Methods, scope and overloading
- Arrays and multidimensional arrays
Unit 2: Inheritance and Polymorphism
7 hoursTypes of inheritance and member access rules; this, super and final; abstract classes and methods; method overloading and overriding and runtime polymorphism.
Examined in the 70-mark end-semester paper
- Inheritance and polymorphism
- Static members, final and garbage collection
- Abstract classes and interfaces
Unit 3: Packages, Interfaces and Exception Handling
7 hoursDefining, implementing and extending interfaces; defining, creating and importing packages and the class path; the exception hierarchy, checked and unchecked exceptions and try, catch, throw, throws and finally.
Examined in the 70-mark end-semester paper
- Packages and the class path
- Exception handling in Java
Unit 4: I/O Streams and File Handling
7 hoursStreams, byte and character stream classes, reading console input and writing console output, and file handling.
Examined in the 70-mark end-semester paper
- Byte and character streams
- Console input and output with Scanner
- File processing and NIO
Unit 5: Multithreading in Java
7 hoursThe thread life cycle and methods, the Runnable interface, method and block synchronisation, and thread communication: suspending, resuming and stopping threads.
Examined in the 70-mark end-semester paper
- Threads, thread states and priorities
- Thread synchronisation
- Inter-thread communication
Unit contents are summarised from the official RTMNU syllabus . AiCanCode.org is not affiliated with Rashtrasant Tukadoji Maharaj Nagpur University (RTMNU).