Computer Applications
When an object of a Wrapper class is converted to its corresponding primitive data type, it is called as …………… .
- Boxing
- Explicit type conversion
- Unboxing
- Implicit type conversion
Related Questions
Consider the following program segment and select the output of the same when n = 10 :
switch(n) { case 10 : System.out.println(n*2); case 4 : System.out.println(n*4); break; default : System.out.println(n); }- 20
40 - 10
4 - 20, 40
- 10
10
- 20
A method which does not modify the value of variables is termed as:
- Impure method
- Pure method
- Primitive method
- User defined method
The number of bits occupied by the value ‘a’ are:
- 1 bit
- 2 bits
- 4 bits
- 16 bits
Method which is a part of a class rather than an instance of the class is termed as:
- Static method
- Non static method
- Wrapper class
- String method