JAVA a programming Language






     Downloading and installing Java is easy and free. There are a couple ways by which you can get Java for Windows

Online download
Offline download

The properties that make Java so attractive are present in other programming languages. Many languages are ideally suited for certain types of applications, even more so than Java. But Java brings all these properties together, in one language. This is a revolutionary jump forward for the software industry.

A simple Java method requires a minimum of three items:
Visibility: public, private, protected
Return Type: void, int, double, (etc.)
name: whatever you want to call the method
There were five primary goals in the creation of the Java language:
It should be "simple, object-oriented and familiar"
It should be "robust and secure"
It should be "architecture-neutral and portable"
It should execute with "high performance"
It should be "interpreted, threaded, and dynamic"

There are two data types available in Java:

Primitive Data Types
Reference/Object Data Types

Primitive Data Types:
There are eight primitive data types supported by Java. Primitive data types are predefined by the language and named by a key word. Let us now look into detail about the eight primitive data types.
Byte
Short
Int
Long
Float
Double
Boolean
Char

Reference Data Types:
Reference variables are created using defined constructors of the classes. They are used to access objects. These variables are declared to be of a specific type that cannot be changed. For example, Employee, Puppy etc.

Class objects and various types of array variables come under reference data type.
Default value of any reference variable is null.

A reference variable can be used to refer to any object of the declared type or any compatible type.

Example: Animal animal = new Animal ("giraffe");
To write Java programs, you need three tools:

A Java compiler
A Java Virtual Machine.
The Java API.

Abstraction:--

Abstraction in the process of selecting important data sets for an Object in your software, and leaving out the insignificant ones.

Once you have modeled your object using Abstraction, the same set of data could be used in different applications.

Java program should monitor a folder and it should alert if a new file is created. We may have a FTP folder where in an external system will post a file and our program has to monitor that FTP folder and when a new file arrives we need to read it or email it.
On full implementation of the Java platform gives you the following features:

JDK Tools: The JDK tools provide compiling, Interpreter, running, monitoring, debugging, and documenting your applications. The main tools used are the Java compiler, the java launcher, and the javadoc documentation tool.

Application Programming Interface (API): The API provides the core functionality of the Java programming language. It gives a wide collection of useful classes, which is further used in your own applications. It provides basic objects and interface to networking and security, to XML generation and database access, and much more.

Deployment Technologies: The JDK software provides two type of deployment technology such as the Java Web Start software and Java Plug-In software for deploying your applications to end users.

Graphical User Interface Toolkits: The Swing and Java 2D toolkits provide us the feature of Graphical User Interfaces (GUIs).

Java has two parts: the runtime that runs on your computer (and lets you run Java apps), and the browser plug-in that comes along with it. When people talk about Java being insecure, they're talking about the browser plug-in. Java apps themselves aren't inherently insecure, it's the browser plug-in that causes problems.






Article Source : http://www.abcarticledirectory.com

Bachelor of Computer Application (BCA) Top www.govindam.org/bca >BCA colleges in Delhi University, 2012-2013, List of best ranking www.govindam.org/bca > bca institute, colleges, courses in Delhi Ncr, India.


Posted on 2013-06-20, By: *

* Click on the author's name to view their profile and articles!!!


Note: The content of this article solely conveys the opinion of its author.


Animated RSS Symbol for the ABC Article Directory rss category feed ... Get Every New Web Development Article Delivered Instantly!

Facebook Comments






Cartoon image of a figure holding a magnifying glass looking for articles in the ABC Article Directory

Still Searching? Last Chance to find what you're looking for with a Google Custom Search!



Custom Search

Or.... You can search this site using our Bing Custom Search!

Bing




Did You Like/Dislike This Article? Give It YOUR Rating!

Please Rate this Article

No Ratings Yet. Be The First To Rate This Article





/EDF Publishing. All rights reserved. Script Services by: Sustainable Website Design
Use of our free service is protected by our Privacy Policy and Terms of Service Contact Us

User published content is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License
.
Increase your website traffic with Attracta.com

Date:


Powered by ABC Article Directory

Create a Mobile Website
View Site in Mobile | Classic
Share by: