Computer

Features of JAVA

Features of JAVA
Want create site? With Free visual composer you can do it easy.
  • Simple : Syntax is based on C++. So easier to learn for programmers with C++ knowledge.​
  • Object Oriented : Organized as a combination of different types of objects that incorporate with behavior.

  • Secured
  1. ​​ No explicit pointer
  2. Programs run inside virtual machine sandbox

  • Robust
  1. Strong memory management
  2.  Lack of pointers that avoids security problems
  3.  Automatic waste collection
  4. Exception handling and type checking mechanism

  • Portable : Can carry the JAVA bite code in any platform

 

  • Dynamic  : Platform Independent A platform is the hardware or the software environment in which the programs run. There are two types, hardware based and software based. JAVA provides software based platform. It has two components.
  1.  Runtime Environment
  2. API (Application Programming Interface)

 

  • Architecture Neutral : No implementation depend features.​

​Naming Conventions in JAVA

JAVA naming conventions are rules to follow when deciding identifiers such as class, variables, constant, methods etc.: This is not forced to follow but all the good programmers follow naming conventions in JAVA.It makes your code easier to understand to others as well as to yourself because readability is very important in JAVA programming.

Name 
Convention 
Class name
  • Should start with uppercase letter
  • Should be a noun

E.g. – String , Color , System   

Interface name
  • Should start with uppercase letter
  • Should be an adjective

E.g. – Remote , Runnable  

Method name
  • Should start with lowercase letter
  • Should be a verb

E.g. – main(), print()

Variable name
  • Should start with lowercase letter

E.g. – firstName , packageNumber 

Package name
  • Should be in lowercase letters
Constant name
  • All letters should be in uppercase

E.g. – RED , BOX , SHIRT

​CamelCase in JAVA naming conventions

CamelCase in JAVA represents the naming of class, interface, variable and methods. If the name has two words the second name should start with an uppercase letter. E.g. – firstName
Thamali Epa
Thamali is a contributor at Nerdynaut Staff.
Did you find apk for android? You can find new Free Android Games and apps.
  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid
3 Comments

3 Comments

  1. Anirudh.B.S.

    May 3, 2016 at 2:01 pm

    Very helpful article 🙂

    • Nitu

      May 3, 2016 at 8:27 pm

      Agreed

  2. Chathurie Niluka Nupearachchi

    May 10, 2016 at 7:34 am

    Very informative article. It actually brushed up my forgotten stuff about JAVA.
    Keep going!

Leave a Reply

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

Most Popular

​Disclaimer : Nerdynaut is a tech company which consists of professionals in respective academic fields in its functional team facing challenging roles to quench the thirst of knowledge in cyberspace. Every article and majority of artworks in this website are copyright of Nerdynaut 2017. After a written permission from the publisher, the original content can be reused or referred for promotional work of education without any modification. Expressions of mass media with intentional harm on Nerdynaut brand may be liable to criminal prosecution and civil claims for the damages caused.
Protected by Copyscape
* = required field

Copyright©2014-2017.The Nerdynaut. All Rights Reserved. A game-changing subordinate of Naut's Capital.
Made in Sri Lanka.

To Top