Note: Either public, protected or private keyword is used in place of access_specifier term used in the above code. Example of public, protected and private inheritance in C++
The graph of a relation of the form y = 5 is a line parallel to the x-axis because the y value never changes. A line parallel to the x-axis is called a horizontal line. The graph of a relation of the form x = 5 is a line parallel to the y-axis because the x value never changes. A line parallel to the y-axis is called a vertical line. Plot the graph of each of the following relations: horizontal line, vertical line.
The horizontal directed line is called the x-axis and the vertical directed line is called the y-axis. The point of intersection of the x-axis and the y-axis is called the origin and is denoted by the letter O. The position of any point on the Cartesian plane is described by using two numbers: (x, y). The first number, x, is the horizontal position of the point from the origin. It is called the x-coordinate. The second number, y, is the vertical position of the point from the origin. It is called the y-coordinate.