Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Thanks. 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
Thanks.
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 aboveStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started