Answers for "Create a corresponding Wrapper object for each variable"

0

primitive vs wrapper classes in java

Differences: 
				1. Wrappers classes are object 
				2. null can only be assigned to classes
				3. Wrapper class does have methods
				4. Primitives does have default values
						default value of primitives:  
								 byte, short, int, long ==> 0
								 float, double ==> 0.0;
								 boolean ==> false;
								 char ==> space		 
				5. Default values of wrapper class: null
Posted by: Guest on December-05-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language