Question: Question 2 Some recent Object-oriented languages such as Java and C#, contain both int and Integer data types. Which one of the following statements is

Question 2 Some recent Object-oriented languages such as Java and C#, contain both "int" and "Integer" data types. Which one of the following statements is correct about this subject? Your answer: Integer is a primitive type. Both types are the same and require the same amount out storage. int is the wrapper type for Integer. It wraps the primitive into an object. Integer is an object type and is passed by reference to subprograms. None of the above. Clear
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
