CS 2370- Fall 2017 -Qus -Every question is worth 2 po otherwise noted) otherwisu
ID: 3593981 • Letter: C
Question
CS 2370- Fall 2017 -Qus -Every question is worth 2 po otherwise noted) otherwisultiple choicworth 2 points (.on erwise noted choose THE SINGLE BEST ANSWEER (untess 1. What type of Class variable is shared among all instances of a c? is s is a special function that is called whenever a new initialized with another object's data (for example: Date d2 -d1, a. copy constructor b. assignment function c. destructor d. static function If you do not provide one of these, a default will be provided for you by the a. copy constructor b. destructor e. none of these c. default constructor d. all of these What does it mean to overload a function? c. inheritance d. polymorphism he following allows us to create new classes based on existing a. overloading b. encapsulation at kind of function is called when an object is created? it moan to redefine a function?Explanation / Answer
Question 1
Answer: static variables
Question 2
Answer: a. copy constructor
Question 3
Answer: default constructor
Question 4
Answer: inheritance