Add to Google Reader or Homepage

class or interface required

class or interface required:

This error usually arises when the keyword class is  missed while writing the name of the we should ensure that the class keyword is included.


public vehicle
int vno;
String vcolor;

int getvno();
String getvcolor();

This code will show an error like class or interface is required, as the keyword class is not included.
java errors and exceptions © 2010 | Designed by Chica Blogger | Back to top