Home > Back-end >  Would like to ask why compile don't come out
Would like to ask why compile don't come out

Time:09-19

 public class Point {
Public Point (int a, b int, int) c {
X=a;
Y=b;
Z=c;
}
Int x;
int y;
int z;

Public void setPoint (int a, b int, int) c {
X=a;
Y=b;
Z=c;
}

Public static void main (String [] args) {
Point p2=new Point (4 and 6);
P2. SetPoint (3, 5, 7);

CodePudding user response:

According to the compiler error was able to determine,

Take a day or two of IDE (idea), no longer entangled with syntax,

You should be behind two braces didn't write,
  • Related