info@avatto.com
+91-9920808017
16. Which of the following constructor function prototypes would be correct in the declaration section of a class named Product that contains one data member, prodNum?
Product (int n);
Product (int n) (prod Num = n;);
Product (int n): prod Num (n) ();
All of the above
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
17. The highest level of cohesion is
functional cohesion
temporal cohesion
logical cohesion
sequential cohesion
18. Which of the following is true?
Coincidental cohesion is stronger than procedural cohesion.
Logical cohesion is stronger than coincidental cohesion.
Sequential cohesion is weaker than temporal cohesion
The weakest cohesion is functional
19. If a derived class uses the public access specifier, then
public base class members remain public in the derived class
protected base class members become public in the derived class
both (a) and (b)
none of these
20. A derived class name is separated from its access specifier with
a colon
two colons
at least a space
a semi colon
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login