title: Do unitialized fields consume memory?
body: <p>I know that fields stick to the objects as long as they exist, so they have some memory allocated, but what if I don't initialize some fields and don't use them? For example:</p>
  
  <pre><code>public class TEST {
     public static void main(String[] args) {
        Foo C = new Foo(5, 7);
        Foo D = new Foo(5);
        ...
  }
  
  public class Foo{
     private int A;
     private float B;
  
     public Foo (int A, float B){
        this.A = A;
        this.B = B;
      }
      public Foo (int A){
          this.A = A;
      }
      ...
  }
  </code></pre>
  
  <p>Will <code>C</code> consume more memory than <code>D</code>?</p>