“Class header expected instead” error

前端 未结 2 1688
遇见更好的自我
遇见更好的自我 2021-01-27 21:38

Why do I get this error?

I\'ve been trying to solve it.

package Controller;

import View.ViewGegevens; //Error
import Model.Persoon;
{
private String Voo         


        
2条回答
  •  故里飘歌
    2021-01-27 22:06

    whatever the variables your declaring must be enclosed within a class because class is a type of Wrapper Mechanism unless they are declared inside the class those will not be available to your class

提交回复
热议问题