Question: 2 questions (java code) 1. Write a program to calculate the area and circumference of a circle by writing Class circle and provide constructor, set

2 questions (java code) 2 questions (java code) 1. Write a program to calculate the area

1. Write a program to calculate the area and circumference of a circle by writing Class circle and provide constructor, set and get methods to the instance variable. Create object for the Circle. 2. Define a class of student, the student has name, roll number, address and Phone Number. All attributes are public in access. a. Initialize the fields of class student with the values given below. name = Your name rollNumber = your Id address = Your address phoneNumber = Your phone number b. Give option to user if they would like to change the information

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!