Java Programming Language: Java Is A Java Programming Language

1618 Words7 Pages
Java programming language is a computer programming language that allows a programmer to write computer instructions using an English-based command instead of using numeric codes. Java was created by James Gosling from Sun Microsystems in 1991, whose first publicly available version was released in 1995. The target of java is to write a program once and be able to run it on multiple operating systems.
Java has its own structure, syntax rules and programming paradigm based on the concept of object-oriented programming. The java language is a C-language derivative (evolved), hence its syntax rules are more like C’s. Java language starts with packages, these are the namespace mechanism and within packages are classes, within classes are methods,
…show more content…
Private: it helps in encapsulating methods and variables most effectively, they are meant to be directly accessed by the java class that owns them. The only way to access a private method is within the class that defined them in the first place.
Protected: protected methods and variables allow the class to access them, classes in the same package to access them and subclasses of that class to access them.
Public: it is the easiest of the java access modifiers because of its nature, a public variable or method means that any class can access it. It is useful when a variable should be accessible by the entire application.
CHARATERISTICS AND FEATURES OF JAVA PROGRAMMING:
The following are some of the characteristics and features of java programming: Simple:
Java is a simple language as it does not have complicated features like operator overloading, multiple inheritance, pointer and specific memory allocation. There is no need to remove unreferenced objects because there is automatic garbage collection in java
…show more content…
Garbage collection, exception handling and memory management are some of the features that make java a robust language. Java is a strongly-typed language, which enables extensive compile-time error checking and does not support memory pointers, this eliminates the possibility of overwriting memory and corrupting the data. Java also does automatic memory management, it manages the memory allocation and de-allocation for creating new objects. The program does not have direct access to the memory. The garbage collector automatically deletes objects to which no active pointer

More about Java Programming Language: Java Is A Java Programming Language

Open Document