Question: Is there any compiler error in the below Java program? class Point { int m_x,m_y; public Point(int x, int y){,m_x=x;m_y=y;} public static void main(String args[])
Is there any compiler error in the below Java program? class Point \{ int m_x,m_y; public Point(int x, int y){,m_x=x;m_y=y;} public static void main(String args[]) { Point p= new Point () ; \} Yos No
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
