Question: My programs compile but I don't think I'm doing the questions right, need help asap. Appreciated and will thumbs up! Thank you. Question 1: Inverted

My programs compile but I don't think I'm doing the questions right, need help asap. Appreciated and will thumbs up! Thank you.

My programs compile but I don't think I'm doing the questions right,

Question 1: Inverted String Class [Invstring.java] - 20 points Write a Java class that appears like the String class however, when printed it reverses the sequence of characters. An example of how your class will behave is given below: InvString s= new InvString ("This is a test"); System.out.println(s); The output will be: Tset a si siht Question 2: Circle Class [Cicrle.java] - 10 points Write a Java class that represents a circle. Objects of the class will be circles of a given radius. The constructor will take two arguments, a label for the circle and its radius. When printed, the circles will display information about their Radius, Area, and Circumference. An example of how your class will behave is given below: Circle c=new Circle("My Circle", 20); //Radius is 20 System.out.println (c) ; The output will be: My Circle RadiusAreaCircumference:20:1256.64:125.66 The area can be calculated using the formula r2. The formula for circumference is 2r where r is the circle's radius

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!