IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

Which of the following statements are correct? 1 We can assign values of any type to variables of type object. 2 When a variable of a value type is converted to object, it is said to be unboxed. 3 When a variable of type object is converted to a

  • Home
  • Computer Science & Engineering
  • C# Programming Questions and Answers
  • Datatypes - General Questions
  • Discuss - 1154
1. 

Which of the following statements are correct?

1 We can assign values of any type to variables of type object.

2 When a variable of a value type is converted to object, it is said to be unboxed.

3 When a variable of type object is converted to a value type, it is said to be boxed.

4 Boolean variable cannot have a value of null.

5 When a value type is boxed, an entirely new object must be allocated and constructed.

[A]. 2, 5
[B]. 1, 5
[C]. 3, 4
[D]. 2, 3

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.
Workspace Report
Leave a Comment

Computer Science & Engineering :: C# Programming Questions and Answers : More Exercises

  • .NET Framework - General Questions
  • Control Instructions - General Questions
  • Functions and Subroutines - General Questions
  • Constructors- General Questions
  • Arrays - General Questions
  • Structures - General Questions
  • Properties - General Questions
  • Exception Handling - General Questions
  • Interfaces - General Questions
  • Delegates - General Questions
  • Generics - General Questions
  • Datatypes - General Questions
  • Operators - General Questions
  • Classes and Objects - General Questions
  • Inheritance - General Questions
  • Strings - General Questions
  • Enumerations - General Questions
  • Namespaces - General Questions
  • Polymorphism - General Questions
  • Collection Classes - General Questions
  • Attributes - General Questions

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2026 IndiaBIX. All Rights Reserved.

Report