In the MIDP api there is a public abstract class Layer
, this class has a javadoc published however it doesn't show a constructor in the javadoc.
In the same api there are two other classes Sprite and TiledLayer.
public class Sprite extends Layer
public class TiledLayer extends Layer
All these classes are in the package javax.microedition.lcdui.game
This means that the constructor of Layer has default access.
I wonder why the api of the class Layer
has been published even though it cannot be sub-classed in user code?