Skip to content

Opening book details…

About this document

Circle Area and Perimeter Calculator by nsrgperumal is a document available to read on EtoBox.

The document contains two Java programs: the first calculates the area and perimeter of a circle using a Circle class with methods for calculations, while the second demonstrates constructor overloading in a Cons_Demo class with multiple constructors. The Circle program creates two circle objects with different radii and prints their area and perimeter. The Cons_Demo program creates instances with different constructor parameters and performs addition using the initialized values.

Author
nsrgperumal
Language
EN