Question: Object oriented programming Exercise3: Rewrite your Lab exercise and initialize the fields of class student with the values given below.name = Your name, rollNumber =

 Object oriented programming Exercise3: Rewrite your Lab exercise and initialize the
Object oriented programming

Exercise3: Rewrite your Lab exercise and initialize the fields of class student with the values given below.name = Your name, rollNumber = your id, address = Your address, phone Number = Your phone number Write a test application named StudentTest and create student object. Print all information about student1 then ask from a user that he want to changes the values of object attributes if user gives yes (O means yes) take input for all attributes and print the new values of attributes Output: student Name = Ahmed student id = 100 student Address = Phone Number = 1000 You want to change the values (Y/N) :: y Enter student name :: Mohammed Enter student id :: 20101 Enter student address :: Enter student phone number :: 1234444 Student Name = Mohammed student Id = 20101 student Address = Phone Number = 1234444 You want to change the values (Y/N) :: n

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!