Subclasses inherit all public data. so as long as there is a variable in thesuper class u shud be able to access it from child class. I would declare avariable 'boolean passable = TRUE' in the parent class andmake it final.