java features

Java Features-: The primary objective of Java programming language creation was to make it portable, simple and secure programming language.Java borrowed most of its syntax from a programming language called C++, which has a syntax based on the C language. The main features of java is ..

High level and general purpose: Rather than being created to accomplish one very specific task, Java allows us to write computer-readable instructions in an open-ended environment. Because it’s not really feasible or even desirable for every computer system to have its own specialized programming language, the vast majority of the code is written in high-level, general-purpose languages such as Java.

Object-oriented: Java is also what we call an object-oriented language. While we won’t get into the specifics of objects and classes. We know for now that objects allow us to define modular entities within our program that make them much more human-readable and much more manageable to create large-scale software projects. A firm grasp of object-oriented concepts is absolutely essential for any modern software developer.

Basic concept are OOPS are here

  1. Object
  2.  Class
  3. Inheritance
  4. Polymorphism
  5. abstraction
  6. Encapsulation

 

Platform-independent:  Java was designed with the intention that it be a write once, run anywhere language. This means if you and I both have systems with Java installed and even if our systems are not normally identical–for example, I’m on a Windows machine and you’re on a Mac–a Java program on my machine that I give to you will still run essentially the same on your machine without the need for it to be recompiled.

 

In other words we can say that  Java is very easy to learn and its syntax is simple, clean and easy to understand. Java syntax is based on C++ (so easier for programmers to learn it after C++). Java has removed many complicated and rarely-used features, for example, explicit pointers, operator overloading, etc.There are some basic feature are available in java  as like

  • Simple
  • Object-Oriented
  • Portable
  • Architecture neutral
  • Platform independent
  • Dynamic
  • Secured
  • Robust
  • Interpreted
  • Distributed
  • High Performance
  • Multi-threaded

 

Java Identifiers -: An identifier is the name us given to an item in Java as like a class, variable, method, and so forth. Identifiers must respect a few rules to allow the code to compile and also common-sense programming rules that called Java coding conventions. There are few

  • an identifier cannot be one of the Java reserved words or the code will not compile
  • an identifier cannot be a Boolean literal (true, false) or the null literal or the code will not compile
  • an identifier can be made of letters, numbers and any of _$
  • developers should declare their identifiers following the Camel case writing style, the practice of writing compound words or phrases such that each word or abbreviation in the middle of the phrase begins with a capital letter, with no intervening spaces or punctuation, making sure each word or abbreviation in the middle of the identifier name begins with a capital letter.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *