JAVA keywords

Protected :  Only to classes in same package or sub classes of that class.

Abstract : Used to declare a class that can’t be instantiated or a method must be implemented by a non abstract modifier.

Extends : for inheritance

final : Impossible to extend a class , override a method and reinitialize a variable.

implements : used to indicate the interfaces that class will implement.


native : Used to modify method declaration.

new :

static : Makes a method or variable belongs to a class as opposed to an instance. Method need not to be instantiated for it to called.

This entry was posted in java. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s