Solved

7. Which reserved keywords mark/represent the class?

Posted on 2015-01-23
3
77 Views
Last Modified: 2015-01-24
Which reserved keywords mark/represent the class?
0
Comment
Question by:Nusrat Nuriyev
  • 2
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 40567786
I am at a complete loss about what you mean here - could you elaborate?
0
 

Author Comment

by:Nusrat Nuriyev
ID: 40568112
I can rephrase my question.
7. Which reserved keywords should we use to get used with classes?
So far, I know only two keywords struct and class :)
if there is nothing new to say here, probably, I need to delete this question :)
0
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 40568187
In fact, these are the only keywords that are applicable here. Others that are of interest in that context are method modifiers like 'const', 'virtual' and 'static' or the access specifiers that we discussed in your other questions. - plus the 'mutable' keyword which allows 'const' members to be altered (yes, I know, now it's getting weird).
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question