Object Oriented Programming Through Java Lab 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 syllabus is below.
| Subject name | Object Oriented Programming Through Java Lab |
|---|---|
| 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 | 1.5 |
| Semester scheme | AI&DS · AI&ML · CS · CSBS · CSD · CSE · CSE (AI&ML) · CSE (IoT & CS) · Cyber Security · IT |
Course Objectives
The aim of this course is to
- Practice object-oriented programming in the Java programming language
- implement Classes, Objects, Methods, Inheritance, Exception, Runtime Polymorphism, User defined Exception handling mechanism
- Illustrate inheritance, Exception handling mechanism, JDBC connectivity
- Construct Threads, Event Handling, implement packages, Java FX GUI
Study Object Oriented Programming Through Java Lab on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)
Experiments Covering the Topics
- Object Oriented Programming fundamentals- data types, control structures
- Classes, methods, objects, Inheritance, polymorphism,
- Exception handling, Threads, Packages, Interfaces
- Files, I/O streams, JavaFX GUI
Sample Experiments
Exercise – 1:
- Write a JAVA program to display default value of all primitive data type of JAVA
- Write a java program that display the roots of a quadratic equation ax2+bx=0. Calculate the discriminate D and basing on value of D, describe the nature of root.
Exercise – 2
- Write a JAVA program to search for an element in a given list of elements using binary search mechanism.
- Write a JAVA program to sort for an element in a given list of elements using bubble sort c) Write a JAVA program using StringBuffer to delete, remove character.
Exercise – 3
- Write a JAVA program to implement class mechanism. Create a class, methods and invoke them inside main method.
- Write a JAVA program implements method overloading.
- Write a JAVA program to implement constructor.
- Write a JAVA program to implement constructor overloading.
Exercise – 4
- Write a JAVA program to implement Single Inheritance
- Write a JAVA program to implement multi-level Inheritance
- Write a JAVA program for abstract class to find areas of different shapes
Exercise – 5
- Write a JAVA program give example for ®super¯ keyword.
- Write a JAVA program to implement Interface. What kind of Inheritance can be achieved?
- Write a JAVA program that implements Runtime polymorphism
Exercise – 6
- Write a JAVA program that describes exception handling mechanism
- Write a JAVA program Illustrating Multiple catch clauses
- Write a JAVA program for creation of Java Built-in Exceptions
- Write a JAVA program for creation of User Defined Exception
Exercise – 7
- Write a JAVA program that creates threads by extending Thread class. First thread display ®Good Morning ®every 1 sec, the second thread displays ®Hello ®every 2 seconds and the third display ®Welcome¯ every 3 seconds, (Repeat the same by implementing Runnable)
- Write a program illustrating is Alive and join ()
- Write a Program illustrating Daemon Threads.
- Write a JAVA program Producer Consumer Problem
Exercise – 8
- Write a JAVA program that import and use the user defined packages
- Without writing any code, build a GUI that display text in label and image in an ImageView (use JavaFX)
- Build a Tip Calculator app using several JavaFX components and learn how to respond to user interactions with the GUI
Exercise – 9
- Write a java program that connects to a database using JDBC
- Write a java program to connect to a database using JDBC and insert values into it.
- Write a java program to connect to a database using JDBC and delete values from it
Study Object Oriented Programming Through Java Lab 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
- Database Management Systems
- Advanced Data Structures Algorithms Analysis
- Object Oriented Programming Through Java
- Advanced Data Structures and Algorithms Analysis Lab
- Python Programming Lab