This repository serves as a resource for practicing Java programming concepts. It contains solutions to various programming exercises and labs.
- a. Java Program to print the sum of N natural numbers using the Scanner class.
- b. Java program to print the area of a triangle.
- c. Java Program to check if a number is prime or not.
- d. Java program that takes a number as input from the user and prints the corresponding day of the week (using Switch statement).
- a. Java program to print the sum of odd natural numbers using the Scanner class.
- b. Program to print the area of a rectangle.
- c. Java Program to check if a number is odd or even.
- d. Java program that takes a number as input from the user and prints the corresponding month of the year (using Switch statement).
- a. Implementation of a Car class.
- b. Implementation of a Person class.
- c. Implementation of a Rectangle class.
- a. Design of a Book class.
- b. Implementation of a Person class.
- c. Creation of a Circle class.
- a. Implementation of a Student class.
- b. Creation of a Dog class.
- a. Program to create a class Student and display data.
- b. Java program to determine the total marks and percentage of a student.
- a. Program to create a class Book and display data.
- b. Java program to compute the gross salary of an employee and associated income tax.
- a. Java program demonstrating the use of an array of objects.
- b. Creation of a Book class.
- c. Implementation of a class Student with data and a printData method.
- a. Creation of a Product class.
- b. Development of a Movie class.
- c. Writing a Java Program to create a class Employee.
- a. Implementation of Animal, Dog, and Cat classes.
- b. Java program featuring Shape, Circle, and Rectangle classes.
- c. Development of a Java program illustrating the usage of the super keyword.
- a. Java program to illustrate the concept of abstract classes and subclasses.
- b. Development of a Java program to manage employee records.
- a. Java program to simulate a basic vehicle management system.
- b. Development of a Java program to simulate a bank account management system.
- a. Program to work with directories and packages in Java.
- b. Program to handle exceptions and custom exceptions.
- a. Program that calls a method throwing an exception in a loop.
- b. Java program that reads an integer and handles invalid input.
Best of Luck....