Interview Questions on VB.Net with Answers Pdf - 1

Question: 1

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

Question: 2

Define boxing?

A technique which converts the value type on the stack to a object type on the heap is called boxing.

Question: 3

What is called unboxing?

A technique which converts the object type back to its value type is called unboxing.

Question: 4

What is the use of scope?

A scope determines what objects are visible to other parts of the program.

It depends on the type of the variable and place of its declaration

Question: 5

What is called statement terminator?

A punctuator that separates statements in a program is known as statement terminator.

Related Questions