Application of Java And Characteristics of Java

 


Java

Java is class-based and an Object Accustomed Programming (OOP) language and it's developed by Sun Microsystems, Java is a really strong general- purpose programming language. It's productive and wonderful programming language which isn't confined to machine use only. Java is other than just a tool form rearing movable uses. Because of that diversity, a platform is an independent language, whether it's a hardware platform or any operating system.

Java is usually integrated on a bytecode and can run on any Java virtual machine, even if it has built-in C. Java runtime provides dynamic capabilities such as due to the implementation of JVM (Java Virtual Machine), Java programs run as transient and efficient as C / C++ programs. And it automatically adds C to the fields of memory superintendency. Because it also expands the language support for multithreaded use.

The Java Applet API is a framework that allows Java web browsers to manage embedded Java applications that can be executed by any software that implements a Java run-time system. Any kind of applications or nay standalone application.

Features/ Characterstics/ Buzz word of Java

Due to java language’s casual features and play, it’s run popular and protean programming language now in software demand. The following features are First Java play Till now, we run familiar java and its introductory notions. Presently we invoke simple java play program. So we've to install JDK (Java Development Kit) in our system. The following routeway are

  •  Platform independent
  • Simple and easy to use
  • Object oriented
  • Robust
  • Distributed
  • Portable
  • Dynamic And Secure
  •  Multithreaded and Interpreted
  •  Architecture Neutral

 First Java application

Till now, we become familiar java and its basic concepts. Here keep our attention into making a program with java programming language. Here we create simple java application program. So we have to install JDK(Java Development Kit) in our system. The following steps:

 

Install JDK in computer

Here we use notepad editor for writing program.

Now enter the following java code

Class exep

{

Public static void main(String args[])

{

      System.out.println(“Hello Java My First Program is…………..”);

}

}

Save this program in appropriate folder with exep.java file name

  • Now start command prompt
  • In command prompt, type and execute following commands.
  • C:/Document and settings\admin>e: (which use your file location for example e drive)  then enter
  • E:\>
  • Now compile the program with following command
  • E:\> javac exep.java
  • Finally execute this program with following command
  • E:\>java exep
  • Output is
  • Hello Java My First Program

  

      

  

Post a Comment

0 Comments