Question: Consider the following class diagram: Choose the best code that creates the class Student. public Class Student' public String name; protected int roll; private String


Consider the following class diagram: Choose the best code that creates the class Student. public Class Student' public String name; protected int roll; private String section, public void DisplayOK? private void Add(){} private void Edit'( M) protected woid Deleted (I) 1 public Class Studenti private String name: private int roll; private String section, public void DisplayOK? private void Add(){} prowate void Edit'( M) protected void Delete0 (') 1 public Class Student' public String name,' protected int roll; private String section, public String DisplayOS) private void Add(){} prowate void Edit'( K) protected vold Delete ( ) (f)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
