Delete comment from: Java67
Create a class called Rectangle that includes two pieces of information as instance
variables a length (type integer) and a breadth (type integer). Your class should
have a constructor that initializes the two instance variables. Your class should
also have two methods called calcArea and calcPerimeter which calculates the
area and perimeter of the rectangle respectively and display their corresponding
calculated values. Create the object of the Rectangle class and then call the
calcArea method.
Feb 3, 2015, 5:05:07 AM
Posted to What is PATH and CLASSPATH in Java? Path vs ClassPath Example