title: Why can't I initialize a variables in same moment I declare them in class
body: <p>I have code like in example:</p>
  
  <pre><code>public class Circle extends Shape{
  private double radius=1;
  private final double PI = Math.PI;
  private Scanner get = new Scanner(System.in);
  
  public Circle(double radius){
      super("Circle");
      this.radius = radius;
  }
  public Circle(){
      super("Circle");
      String help;
      do{
          System.out.print("Write radius: ");
          help = get.nextLine();
      }while(Cnauka.isDouble(help) == false);
      this.radius = Double.parseDouble(help);
  }
  @Override
  public double area(){
      return radius * radius * PI;
  }}
  </code></pre>
  
  <p>And i have question about that variable radius. Why can i initialize them with value 1? Isn't it not property?</p>