Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Please I need help with this assignment, I have attached the assignment requirement

Please I need help with this assignment, I have attached the assignment requirement.

thanks

1.Provide Java code for a simple class of your choice. Be sure to include at least one constructor,two methods and two fields. The fields should be private.Create a test class to construct and call the methods of your class.Describe your class and demonstrate your code functions properly.Respond to other student postings by testing their Unique classes.2.Discuss about the benefit of using a method. How do you define a method?How do you invoke amethod?How is an argument passed in a method? Can the argument have the same name as its parameter?What is method overloading? It is permissible to define two methods that have the same name butdifferent parameter types?3.Let’s design and implement some methods to exercises the methodsa)Provide Java code for a method that would calculate the perimeter of a rectangle. Be sureto include an example call to your method and explain the code you developed. Theprogram prompts the user to enter the width and height of the rectangle.b)Provide Java code for a method that would convert Fahrenheit to Celsius.Be sure toinclude an example call to your method and explain the code you developed. Use formulaC=(F-32)*5/9
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"