Class SubClassExercise6_15

java.lang.Object
  extended byExercise6_15
      extended bySubClassExercise6_15

public class SubClassExercise6_15
extends Exercise6_15

Inherit from a class in another package and access a protected field within the super class should be possible.

Version:
1.0
Author:
Kristian Torp, torp (at) cs (dot) aau (dot) dk
See Also:
Serialized Form

Constructor Summary
SubClassExercise6_15()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setX(int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubClassExercise6_15

public SubClassExercise6_15()
Method Detail

setX

public void setX(int x)

main

public static void main(java.lang.String[] args)