title: can you override multiple methods with the same superclass method in java?
body: <p>if i want to have children with different parameters and different fill methods, what is the best way to be able to do the following, keeping in mind that i would have more than this one child with different methods.. I'd have, say, 8 children, all with different methods and params.</p>
  
  <p>the below code is just something i wrote now as an illustration.. I know there is probably errors.. just wrote it real fast:</p>
  
  <pre><code>class SuperClass{
      void fill(){
          //generic 
      }
      get(){//generic }
  }
  
  class child{
       variables a, b, c;
       @override
       void fill(a, b, c)
       @override
       int get_a(){
             return a;
       }
       @override
       int get_b(){
            return b;
       }
       //etc...
  }
  </code></pre>
  
  <p>main.</p>
  
  <pre><code>main(){
   int a = 0, b = 0, c = 1;
   Superclass s = new child.fill(a,b,c);
   int i = s.get_a(); 
  }
  </code></pre>
  
  <p>I guessed override probbably wouldn't work because the method is different, but how could I accomplish this?</p>
  
  <p>edit:</p>
  
  <p>i realize the code has provlems (ie. extend), but i wrote it in 45 seconds.. I am looking for a way to inherit in multiple children that hold different variables and need different setters/getters</p>