Home / MCQ Bank / Computer
Computer Interfaces And Abstract Classes

Which of the following is method of wrapper Integer for converting the value of an object into int?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • int intValue()

Related Computer Questions

Which Java data type is used to store a single 16-bit Unicode character? In Java, which method can be used to perform autounboxing? In which of the following cases inline functions may not word? i. If the function has static variables. ii. If the function has global and register variables. iii. If the function contains loops iv. If the function is recursive Which keyword is used to denote the access specifier in a derived class when inheriting from a base class in C++? What will be the Correct statement in the following C# code? class baseclass { int a; public baseclass(int a1) { a = a1; console.writeline(" a "); } class derivedclass : baseclass { public derivedclass (int a1) : base(a1) { console.writeline(" b "); } } class program { static void main(string[] args) { derivedclass d = new derivedclass(20); } } }