Java naming conventions must be followed for all type names.
As per the conventions, all type (class, enum, interface) names in Java must begin with an uppercase letter. Not following this convention would make it harder to search for such type declarations in large source files.
Avoid typenames that start with a lowercase letter.
class klass {
//..rest of the code
}
Consider following the conventions when naming your types.
class Klass {
//..rest of the code
}