Write class name Student Management having array of students and count of students as attribute. There should be method for the following: Add new Student in Array Remove a Student from Array using Name (of Student) Sort the Students in array using Name (ascending order) Sort the Students in array using Age (ascending order) Sort the Students in array using CGPA (ascending order) Reverse the order of the Students in array Display information of all Students in array (from zero index to last index) Note.This is a java program

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 29SA
icon
Related questions
Question

Write class name Student Management having array of students and count of students as attribute. There should be method for the following:

  1. Add new Student in Array
  2. Remove a Student from Array using Name (of Student)
  3. Sort the Students in array using Name (ascending order)
  4. Sort the Students in array using Age (ascending order)
  5. Sort the Students in array using CGPA (ascending order)
  6. Reverse the order of the Students in array
  7. Display information of all Students in array (from zero index to last index)

Note.This is a java program

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage