0% found this document useful (0 votes)
0 views

Object Oriented Programming with Java.docx

The document outlines the course structure for Object Oriented Programming with Java for B.Tech students, detailing objectives, teaching and evaluation schemes, and subject contents. Key topics include OOP principles, Java basics, exception handling, multithreading, and GUI design. The document also lists textbooks, reference materials, open resources, and suggested experiments for practical learning.

Uploaded by

Aditya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

Object Oriented Programming with Java.docx

The document outlines the course structure for Object Oriented Programming with Java for B.Tech students, detailing objectives, teaching and evaluation schemes, and subject contents. Key topics include OOP principles, Java basics, exception handling, multithreading, and GUI design. The document also lists textbooks, reference materials, open resources, and suggested experiments for practical learning.

Uploaded by

Aditya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Gandhinagar Institute of Technology


B.Tech CE/IT/CSE/AI/CS
Semester 4

Subject Code: 10050401 Subject Title: Object Oriented Programming with Java
Pre-requisite: Programming Fundamentals

Course Objective:
1.​ To introduce OOP principles.
2.​ To explore the skills of Java Programming Development.
3.​ To learn various java API classes, packages, interfaces and streams.
4.​ To understand exception handling mechanism and multithreading.
5.​ To learn efficient design techniques of GUI.

Teaching Scheme (Hours per week) Evaluation Scheme (Marks)


Theory Practical
University
Lecture Tutorial Practical Credit Continuous University Continuous Total
Assessmen
Assessment Assessment Assessment
t
3 0 2 4 70 30 30 20 150

Subject Contents
Sr. Total
Topic Weight (%)
No Hours
Concepts of OOP:
Introduction to OOP, Procedural v/s Object Oriented Programming,
1 2 8
Principles of OOP, Benefits and Applications of OOP.
CH.1 : TB.2
Basics of Java:
C v/s Java, Features of Java, Working of JVM, JDK, JRE, Bytecode, Java
Program Structure, Compiling and Executing a simple java program,
2 Datatypes, Operators, Control Statements: Selection statements (if and 3 10
switch), Loops (while, do-while and for) and Jump statements (break and
continue).
CH.2 : TB.2, CH.3 : RB.1
Arrays and String:
Array and Types of Arrays, Arrays class, String class, String class methods,
3 StringBuffer and StringBuilder class, ArrayList class, Command Line 4 8
Argument, Use of Wrapper class.
CH.3 : RB.1, CH.4 : RB.2
4 Classes, Objects and Methods: 6 16
Introduction of Class, Object, Method, Method Overloading, Recursion,
Passing and Returning an object from method, Constructor, Types of
Constructor, Constructor Overloading, ‘this’ keyword, ‘static’ keyword,
Nested class and Inner class, Anonymous inner class, Garbage Collection and
finalize() method, Introduction to Scanner class.
CH.4 : RB.2
Object Oriented Programing Concepts:
Types of Inheritance, Inheriting Data members and methods, Inheriting
constructors, Method overriding, ‘super’ keyword, ‘final’ keyword, Abstract
class, Interface, Interface Inheritance, Interface Reference, Comparison
5 10 25
between Abstract Class and Interface, Dynamic Method Dispatch, Object
class, Package and its types, Creating a Package, Importing a Package,
Access Modifiers and its scope.
CH.5 & 6 : RB.2
Exception Handling and Multithreaded Programming:
Exception and Error, Types of Exception (Checked and Unchecked
Exception), Exception Handling Blocks: try, catch and finally, ‘throw’ and
6 throws keyword, Built-in and Custom Exception, Introduction to Thread, 10 15
Thread Lifecycle, Creation of Thread using Thread class and Runnable
interface, Thread priority, Thread Synchronization, Thread communication.
CH.10 & 11 : TB.1
Introduction to Event-Driven Programming:
Basic structure of JAVAFX program, Panes, UI control and shapes, Property
binding, the Color and the Font class, the Image and Image-View class,
7 5 8
layout panes and shapes, Events and Events sources, Registering Handlers
and Handling Events.
CH.14, 15 & 16 : RB.3
IO Programming:
Introduction to Stream, Byte Stream, Character stream, Readers and Writers,
File Class, File Input Stream, File Output Stream, InputStreamReader class,
8 5 10
OutputStreamWriter class, FileReader class, FileWriter class, Buffered
Reader.
CH.16 : TB.2, CH.9 : RB.2

Course Outcome:
After learning the course, the students should be able to:
1. Understand and apply object-oriented programming principles.
2. Write, compile and execute Java programs.
3. Understand the Java architecture and use java classes, packages and interfaces.
4. Understand and use exception handling mechanism and multithreading in Java.
5. Perform standard input-output and file I/O operations.
6. Design GUI based application.
List of Textbooks:
1.​ Java: The Complete Reference by Herbert Schildt, Tata McGraw Hill Publication.
2.​ Programming with Java by E Balagurusamy, Tata McGraw Hill Publication.

List of Reference Books:


1.​ Core Java Volume I – Fundamentals by Horstmann, Pearson.
2.​ Programming In Java Revised by Sachin Malhotra & Saurabh Choudhary, Oxford Publication.
3.​ Introduction to Java Programming and Data Structures Comprehensive Version by Y. Daniel
Liang, Pearson.

Open e-Resource:
1. Java Development Kit: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. http://www.tutorialspoint.com/java/
3. http://www.learnjavaonline.org/
4. http://www.learn-java-tutorial.com/
5. http://www.tutorialspoint.com/javaexamples/
6. https://www.mygreatlearning.com

List of Suggested Experiments:


1.​ Install JDK, write a simple “Hello World” or similar java program, compilation, debugging,
executing using java compiler and interpreter.
2.​ Write a program to enter two numbers and perform mathematical operations on them.
3.​ Write a program in Java to find maximum of three numbers using conditional operators.
4.​ Write a program in Java to mention basic details of Employee with the help of classes and objects.
5.​ Write a program to find length of string and print second half of the string.
6.​ Write a program to find that given number or string is palindrome or not.
7.​ Write programs in Java to use Wrapper class of each primitive data types.
8.​ Write a program in Java to demonstrate the use of ‘final’ and 'static' keyword.
9.​ Write a program in Java to demonstrate single inheritance, multilevel inheritance and hierarchical
inheritance.
10.​ Describe abstract class called Shape which has three subclasses say Triangle, Rectangle, and
Circle. Define one method area() in the abstract class and override this area() in these three
subclasses to calculate for specific object i.e. area() of Triangle subclass should calculate area of
triangle etc. Same for Rectangle and Circle.
11.​ Write a program in java to demonstrate multiple inheritance in interface.
12.​ Write a program in Java to develop user defined exception for 'Divide by Zero' error.
13.​ Write a program in Java to demonstrate multiple try and multiple catch blocks.
14.​ Create a class called Student. Write a student manager program to manipulate the student
information from files by using FileInputStream and FileOutputStream.
15.​ Write a program of JavaFX application which prints “Hello world” on the console on clicking the
button.

You might also like