In the paper, we propose three levels of understanding for object-oriented programming (OOP): philosophy level, methodology level, and Language/environment level. We consider "object as intelligent agent" based on knowledge representation hypothesis. Along with the view, we discuss the methodology and architecture of OOP in AI software. ROOT, which is an AI programming Language and environment developed by our group, reflects the understanding discussed in the paper.