Are Java classes objects?

Viewed 6281

I've read before that Java classes are instances of the class Class. But now, my computer science teacher says that Java classes are not objects.

Which is true?

5 Answers

Well, if a Class can understand methods, and have its own atributes (using "static") Then why not think of them as Objects? Objects do that.

But it's not something to bring up to the students, because it will only confuse them. I think that if you already master the concept of Class and object, then you can think of clases as a kind of object.

Related