“Class header expected instead” error

前端 未结 2 1678
遇见更好的自我
遇见更好的自我 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:13

    These lines should be within any of class or interface

    {
    private String Voornaam;
    private String Tussenvoegsels;
    private String Achternaam;
    private String Woonplaats;
    private int Telefoonnummer;
    private String Aardappel;
    }
    

提交回复
热议问题