OOPs Interview Question and Answers

11. What is called statement terminator?
  A punctuator that separates statements in a program is known as statement terminator.
 
Your Name Your Email-ID
Your Answer
12. What is called token?
 
  • The smallest, non reducible, textual elements in a program are referred to as tokens.
  • The C# language has five such tokens.
  • Keywords,
  • Identifiers,
  • Literals,
  • Operators,
  • punctuators
 
Your Name Your Email-ID
Your Answer
13. What is called method invocation?
 
  • The process of activating a method is known as Calling the Method or Method invocation.
  • It is done using the dot operator.
 
Your Name Your Email-ID
Your Answer
14. What is meant by Operator Overloading?
  Operator overloading makes a program clearer than accomplishing the same operations with explicit method calls. Some benefits are
  • A class that represents an amount of memory.
  • A word processing or text analysis program that uses classes representing sentences, clauses and so on.
  • Graphics program that use mathematical or co-ordinate related objects when calculating positions on screen.
 
Your Name Your Email-ID
Your Answer
15. Define enumeration?
 
  • An enumeration is a user defined integer type which provides a way for attaching names to numbers.
  • The following code shows the example for enum.
 
Your Name Your Email-ID
Your Answer
123456789101112 Page 3 of 12