You are not logged in.

#1 2015-06-08 09:27:01

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Java Wrapper Integer:

Question:
The following two statements illustrate the difference between a:

int x = 25;
Integer y = new Integer(33);

Option A):
Primitive data types
Option B):
None
Option C):
primitive data type and an object of a wrapper class
Option D):
Wrapper class

Correct Answer is Option C):
primitive data type and an object of a wrapper class


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-08 09:27:01

Advertisement
Ads By Google

Re: Java Wrapper Integer:



Board footer