Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

7. Which reserved keywords mark/represent the class?

Posted on 2015-01-23
3
Medium Priority
?
83 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

886 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