Projection of a Point on X-axis and Y-axis
1)Which programming paradigm focuses on encapsulating data and behavior into objects?
  

2)In OOP, a point on a coordinate plane can be represented as:
  

3)What is the purpose of encapsulation in OOP?
  

4)Which OOP concept allows a class to inherit properties and behaviors from another class?
  

5)Which access modifier allows a class member to be accessed only within the class itself?
  

6)Which OOP concept allows a class to have multiple methods with the same name but different parameters?
  

7)Which method in a class is automatically called when an object of the class is created?
  

8)In OOP, what does the term "object" refer to?
  

9)Which keyword is used to create an object in Java?
  

10)Which method is used to access the value of a private instance variable in a class?
  

11)Which method is used to modify the value of a private instance variable in a class?
  

12)What is the result of projecting a point on the x-axis?
  

13)Which method can be used to calculate the projection of a point on the x-axis in an object-oriented program?
  

14)Which method can be used to calculate the projection of a point on the y-axis in an object-oriented program?
  

15)Which class would be appropriate to implement a point in a two-dimensional coordinate system?
  

16)Which method can be used to set the x-coordinate of a point in an object-oriented program?
  

17)Which method can be used to set the y-coordinate of a point in an object-oriented program?
  

18)Which method can be used to retrieve the x-coordinate of a point in an object-oriented program?
  

19)Which method can be used to retrieve the y-coordinate of a point in an object-oriented program?
  

20)Which OOP concept would be useful for representing a two-dimensional coordinate system and its projections?