Thursday, 13 March 2014

Java Language Keywords

Here is a list of keywords in the Java programming language. You cannot use any of the following as identifiers in your programs. The keywords const and goto are reserved, even though they are not currently used. true, false, and null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs.

abstractcontinuefornewswitch
assert***defaultgoto*packagesynchronized
booleandoifprivatethis
breakdoubleimplementsprotectedthrow
byteelseimportpublicthrows
caseenum****instanceofreturntransient
catchextendsintshorttry
charfinalinterfacestaticvoid
classfinallylongstrictfp**volatile
const*floatnativesuperwhile
*not used
**added in 1.2
***added in 1.4
****
added in 5.0




















































Object oriented programming

Object oriented programming is basically based on  real life programming.
In this approach there are basically two important tools:

1. Classes
and
2. Objects

classes are the blueprint and object are physical existence of classes


for example before build a house we make blueprint of house i.e. class and when we make house there is physical existence of house in earth i.e. object of class.

there are basically four features of object oriented programming:
1. Encapsulation.
2. Abstraction.
3. Polymorphism.
4. Inheritance.



your comments and advise are welcome
visit us at www.knitkota.com
email us at: pervez@knitkota.com