Pegasystems interview question

Questions on inheritance, puzzles and java programs asked. Couple of them on testing