Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 728 Bytes

File metadata and controls

30 lines (21 loc) · 728 Bytes

Unit2Java-

Java OOP Examples: Student Management & Method Overloading This project demonstrates two key concepts of Object-Oriented Programming (OOP) in Java:

Managing Student Data using Constructors Method Overloading to Handle Multiple Data Types

  1. Student Management Example Overview : [The Student class is used to manage student information such as ] :

Roll Number Gender Name Email ID Features Default Constructor: Allows manual assignment of values. Parameterized Constructor: Initializes the student data directly

  1. Method Overloading Example Overview [The Sample class demonstrates method overloading, where multiple methods with the same name (print) handle different data types]:

String Integer Double