Posts

Showing posts with the label Language

List of all keywords and reserved words in java

Java Keywords What is a keyword? Keyword is a special word/reserved word which is already defined in the compiler. We can not use keywords in our program for declaring any variable or program name or in other declarations. Keywords definition is defined in the compiler. For example, If you try to declare a variable with name 'try' that is not possible as 'try' is a keyword in java language. See following example.      class Testpgm  {     int try; //this variable can not be declared....     public static void main (String[] args )       {        //class code....       }    }   Below is lists of all Java keywords- There are 53 keywords in java. 1. 48 special words. 2. 3 special words. 3. 2 unused words. 2 unused keywords ================ 1. goto 2. const 3 reserve words =============== 1. null 2. true 3. false 48 special words ================ keywo...

Internal mechanism of Platform Independent Language

Platform Independence means that no dependency on Platform. Here Platform mean is environment.We will know here Internal mechanism of Platform Independent Language. Learning Java is too easy but understanding it some what difficult. Any one can create programs on java but very few people know the Internal mechanism of java concepts. In this post we are going to discuss about Internal mechanism of Platform Independent Language. As we are discussing on Java and Java is also a Platform Independent Language. So I will explain Internal meaning of Platform Independence and What is the meaning of Platform Independent Language? First of all think only one thing  that can you execute java program made in windows environment on Unix environment or vice versa? If you are unable to answer, I tell you. 'Yes' we can execute java program in any environment. For this only one thing is needed that is called JVM. Java's most powerful feature is that program written in java can we run on an...