This paper describes ActiveTutor, a pedagogical tool to help teachers teaching object oriented programming, to help students learning it alone or inside a group or to help people wishing to study the behavior of students using a pedagogical tool. It is a helpful tool while giving a lecture or reading an electronic course book.