Skip to content

CS23students/oop-lab-java-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOPS Model Lab Programs in Java

This repository contains Java programs for various Object-Oriented Programming System (OOPS) concepts, covering threads, exceptions, inheritance, interfaces, abstract classes, JavaFX, and more.

Link to the SpreadSheet - Link

Table of Contents

S. No Program Description Link
1 Create a Java application with three threads to perform operations: 1. Get N numbers, 2. Find the minimum, 3. Find the maximum Link
2 a) Replace 'WORD1' by 'WORD2' in a file and write to a new file with count of replacements. b) Replace in-place and display count Link
3 Abstract class Employee with getAmount() method. Calculate amount for weekly and hourly employees Link
4 Java program for handling exceptions: NullPointerException, StringIndexOutOfBoundsException, FileNotFoundException, InputMismatchException Link
5 Internal marks calculation system based on attendance percentage using inheritance Link
6 JavaFX application for a Course Registration Form Link
7 Java program for Sequential Search and Binary Search Link
8 Exception handling for employee details based on input validation Link
9 Graphics class usage to display and fill basic shapes Link
10 JavaFX Calculator using event-driven programming with decimal manipulation Link
11 a) Copy file contents, b) Read file input from user Link
12 a) Insertion Sort, b) Find max value using a generic function Link
13 Employee payroll program Link
14 Multiple inheritance in Java and package creation Link
15 Abstract class example and inner class demonstration Link
16 Generic class operations on arrays Link
17 Thread prioritization and file read/write operations Link
18 Interface Payable for invoice and employee calculation Link
19 Interface Vehicle implementation for fuel consumption Link
20 Queue operations using interfaces Link
21 File input/output operations based on user choice Link
22 Interface StudentFee to calculate fees for hosteller and non-hosteller Link
23 Word count in multiple files using threads Link
24 Multi-threaded Java application for even/odd number operations Link
25 Find the smallest element in one-dimensional and two-dimensional arrays Link
26 Package creation with department classes Link
27 Four-thread Java program for various operations Link
28 JavaFX application to toggle background color on button click Link
29 Abstract class for calculating areas of shapes Link
30 Selection Sort and Linear Search Link
31 File input/output operations with word and line count Link
32 Temperature conversion and binary search using packages Link
33 Currency converter using packages Link
34 Polymorphism with Shape subclasses Link
35 Exception handling with user-defined exceptions Link
36 File-based operations with user input Link
37 Abstract class Eatable with subclass implementations Link
38 User-defined exception handling with division example Link
39 Phone bill calculation based on call count Link
40 Stack and Queue implementation using classes Link
41 Doctor class with user-defined exception handling Link
42 Vehicle parking invoice calculation Link
43 Loan calculator using JavaFX Link
44 Circle area and perimeter calculation Link
45 University exam eligibility based on health status Link
46 Exception rethrowing between classes Link
47 Complex number addition and day-to-month conversion Link
48 Generic class operations on arrays Link
49 Calculate tax based on income Link
50 Employee Payroll Link
51 Length Converter Link
52 Vehicle Fuel Consumption Link

Contributing

Feel free to fork the repository and submit pull requests for improvements and additional examples.

About

This repo contains the oop-lab programs for sem practical

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages