We didn't need to see all that code to know that answer.
I. Rectangle(int s1, int s2) { }
is a valid constructor
I<span>I. Rectangle(s1, s2) { }
is an invalid constructor, as the data type for s1 and s2 was not specified.
</span>II<span>I. Rectangle() { }
is a valid constructor, as it is simply the default constructor.</span>
Answer:
The correct answer for the given question is " yes".
Explanation:
In the above question the correct answer is yes because, in any social media site. If we like any web page.it will shows the name of person that like the web pages .
For example: if we login in any social side we will see various images,video and story etc.if any user like all. it will show the person name that is liked by them.
So the correct answer for this question is yes.
CTRL/CMD + B (BOLD)
CTRL/CMD + U (Underline)
CTRL/CMD + ] or [ (change font size)
Answer:
Please check the attachment.
Explanation:
The adjacency matrix is the matrix that has nodes as rows and columns. The nodes if connected is stated as 1 or else 0. And the adjacency list representation is the list with nodes and connected nodes. The nodes that are not connected are not being listed. The diagram and list as well as matrix can be found in the attachment.