search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
21 views
asked Expert 13.2k points 27 40 59

1 Answer

0 votes
Keywords are those words that are reserved to be used for a specific task. These words cannot be used as identifiers. You cannot use a keyword to define the name of a variable or method. Keywords are used in programs to use the features of object-oriented programming. 
 
For example, the abstract keyword is used to implement abstraction and the inherits keyword is used to implement inheritance by deriving subclasses in C# and Visual Basic, respectively. 
 
The new keyword is universally used in C# and Visual Basic to implement encapsulation by creating objects.
 
answered Guru 27.1k points 31 50 97

Related questions

0 votes
1 answer 16 views
0 votes
1 answer 12 views
12 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 25 views
0 votes
1 answer 223 views
223 views
asked sunny Expert 11.4k points 14 22 28
...