Login or Register

  Welcome: Guest


Home >> Article >> Programming >> Java >> Post New Article Bookmark and Share

Usage of Java Programming and Concepts

August 01, 2012  by: Sanjeev  Points: 20   Category: Java    Views: 578

Describes the salient features of Java and explains about the usage of java.

         

Java -The Amazing Program


Introduction:

Java is platform-independent languge. Its initial name was “Oak ”, which is renamed in 1995 as “Java”. It is widely used by the programmers to design different kind of programs. There are two kinds of programming using Java:
1.Application Programming.
2.Applet Programming.
We shall see in brief about this in the following session.

Application Programming:

It is the common method used by many type of programming languages. It is most widely used for creating programs that interfere with the user to perform mathematical, statical and logical operations.
Especially in Java programmers can design using the OOPs concepts. Java is a strictly object oriented program. Without “Class” there will be no java program.

Applet Programming:

Applet programming in java refers to the creation of programs that can be run on Internet. Any kind of internet programs can be desined using java. The programs created as applet can be sent to any kind of Destination.

Data Types In Java:

There are different datatypes available in Java, such as:
int = integer variables.
float= floating point rational numbers
char= character variables, etc


A sample Application program:


import java.io.*;
class Sample
{
public static void main(String args[])
{
int a,b;
a=12;
b=5;
System.out.println(“a= “ +a+ “b= “+b);
}
}


Output:

a=12 b=5

Description:

In the above program two integer variables are declared. They are assigned value 12 and 5 respectively. Then, the assigned values are printed.
Conclusion:
Thus java programming is very useful in application and applet programs.




Comment(s)
Author: Adi        
Posted Date: 08/04/2012    Points:1    

Hi Sanjeev, good article about java. I studied java while studying in high school. But I do not remember it now.

Post Comment

Please Log In  to post comment

Related Resources



Starting Java Programming
Java is computer language. It help the user to develop softwares,programs and even games also. It is easy to study this computer language. Sometimes you may see certain title says java games, java apps when you try to download mobile apps from mobile store. That means this app is made with java language. This article is about how to write and run a java program.

Use of switch in java programming
Switch is a conditional statement which used to pick a statement if the condition and expression are equal. This article explains about the use and functioning switch along with example.

About Java
Java is a purpose object oriented programming language

Enterprise Java Beans : An Overview
This article contains basic information about Enterprise Java Beans (EJBs)Technology .

Application Deployment Tool in java
Java Based Tools for testing and deployment tool

Latest Resources From The Same Category



Use of switch in java programming
Switch is a conditional statement which used to pick a statement if the condition and expression are equal. This article explains about the use and functioning switch along with example.

Addition of 2 numbers in java program
For starting with Java we need to know 2 things first is how to print a message and how to accept 2 numbers & print there sum. This article is about how to create a program which accept 2 numbers and print there sum.

Starting Java Programming
Java is computer language. It help the user to develop softwares,programs and even games also. It is easy to study this computer language. Sometimes you may see certain title says java games, java apps when you try to download mobile apps from mobile store. That means this app is made with java language. This article is about how to write and run a java program.

Usage of Java Programming and Concepts
Describes the salient features of Java and explains about the usage of java.

Threads in Java
Here is the most commonly used concept i.e. threads in Java.

 

Top Performers     Top Contributors     Share and Earn     Terms of Service    Privacy Policy     Contact Us