1. For methods      parameters are specified in the method definition, arguments are provided during a method call     arguments are specified in the method definition, parameters are provided during a method call     arguments override parameters     parameters encapsulate arguments 2 Local variables are not automatically initialized.  True  False 3 Composition refers to an 'is-a' relationship.  True  False

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 9RQ
icon
Related questions
Question

1. For methods 

   

parameters are specified in the method definition, arguments are provided during a method call

   

arguments are specified in the method definition, parameters are provided during a method call

   

arguments override parameters

   

parameters encapsulate arguments

2

Local variables are not automatically initialized.

 True

 False

3

Composition refers to an 'is-a' relationship.

 True

 False

4

Class constructors must be declared with a return type equal to the class.

 True

 False

5

Object instances are created using the “new” keyword.

 True

 False

 



Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,