A top level class
public class Point {}
abstract class Point {}
final class Point {}
class Point {}
Some variations
public final class Point{}
public abstract class Point{}
Error conditions
public public class Point{}//ERROR!
private class Point{}//ERROR!
protected class Point{}//ERROR!
static class Point{}//ERROR!
No comments:
Post a Comment