Stop show with sound  Next slide in show -- Keyboard shortcut: 'n'  1 minute, 10 secondsLecture 7 - slide 36 : 41
Program 1
class A {
 private int v = 5;

 private void m(int p){
   v = p;
 }

}

class B extends A{

 private int v = 6;

 public void m(int p){
   v = p;
   super.m(p-3);  // giver fejl
 }

}


class RedefTry4 {

 public static void main (String[] args){

   B aB = new B();
   aB.m(10);

 }

}