primitive vs wrapper classes in java

Solutions on MaxInterview for primitive vs wrapper classes in java by the best coders in the world

showing results for - "primitive vs wrapper classes in java"
Giulia
29 Nov 2019
1
2					Differences: 
3				1. Wrappers classes are object 
4				2. null can only be assigned to classes
5				3. Wrapper class does have methods
6				4. Primitives does have default values
7						default value of primitives:  
8								 byte, short, int, long ==> 0
9								 float, double ==> 0.0;
10								 boolean ==> false;
11								 char ==> space		 
12				5. Default values of wrapper class: null