IBM interview question

Know fizzbuzz and OOP principles