What is the correct way to define a class in Java?
public Example {}
class Example {}
void Example {}
object Example {}
This question is part of this quiz :