About Question enthuware.ocajp.i.v8.2.1436 :
Moderators: Site Manager, fjwalraven
-
- Posts: 7
- Joined: Tue Jan 31, 2017 4:16 pm
- Contact:
About Question enthuware.ocajp.i.v8.2.1436 :
I just have a question about the use of the word "class". In the explanation class is used where interface is also correct. It seems that class is sometimes used when both class and interface are appropriate. In the explanation would the use a "type" be ok, instead of class. Type would cover class and interface, right?
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.1436 :
Yes, type always refers to primitives, classes, interfaces, as well as enums. While class is also sometimes used to refer to classes, interfaces, and enums. Generally, it will be clear from the context that the word class is being used to refer to all three or just to a class.
I have updated the explanation of this question to use the word type instead of class.
thank you for your feedback!
Paul.
I have updated the explanation of this question to use the word type instead of class.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 65 guests