What is a "type" as mentioned in the Java tutorial? -
source: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html
you may see term "member" used well. type's fields, methods, , nested types collectively called members."
while defining member tutorial uses term type, in context doesn't mean data type. can't find correct definition on google. maybe obvious i'm missing?
in context "type" means "class".
in other contexts may mean "a class or primitive type", since talk types having members, mean classes. same goes nested types: classes can nested inside other classes; primitive types built language, , cannot nested.
Comments
Post a Comment