Instead of putting defaults in the default constructor, initialize them in the class itself:
    class A { 
        int a = 1;
    }