Solved

Which of the Following Code Snippets Denotes That the Pen

Question 37

Multiple Choice

Which of the following code snippets denotes that the Pen class depends on the Ink class?


A) public class Pen extends Ink
B) public class Ink extends Pen
C) public class Pen
{
Private Ink anInk;
}
D) public class Ink
{
Private Pen aPen;
}

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions