public class Circle {
// the private data members
private double radius;
private double area;
private double diameter;
public void setRadius(double r)
{
radius = r;
}
public double getRadius()
{
return radius;
}
public double computeDiameter()
{
return radius * 2;
}
public double computeArea()
{
return ((radius * radius) * 3.14);
}
}
Answer: Nooo! Dont!
Explanation:That is a bad idea!
Example of intermediate technology is the treadle pump, which enables farmers to provide a greater amount of water to their plants more easily compared to watering by bucket, while requiring much less infrastructure than constructing irrigation dams and pipes.