Embed presentation
Download to read offline
![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](https://image.slidesharecdn.com/isthereanycompilererrorinthebelowjavaprogram-classpoint-230224105547-8a873cef/75/Is-there-any-compiler-error-in-the-below-Java-program-class-Point-docx-1-2048.jpg)
The document presents a Java program and inquires about potential compiler errors. Issues include incorrect variable names and syntax errors in object instantiation. The program is incomplete, leading to questions about its correctness.
![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](https://image.slidesharecdn.com/isthereanycompilererrorinthebelowjavaprogram-classpoint-230224105547-8a873cef/75/Is-there-any-compiler-error-in-the-below-Java-program-class-Point-docx-1-2048.jpg)