Back to project page Smartlab.
The source code is released under:
Apache License
If you think the Android project Smartlab listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ir.smartlab.java.ch05.circlesample; //from w w w .jav a 2s. c om public class Main { public static void main(String[] args) { double radius = 5; Circle theCircle = new Circle(); theCircle.setRadius(radius); System.out.println("New Circle's Perimeter is:" + theCircle.perimeter()); System.out.println("New Circle's area is:" + theCircle.area()); } }