علومي
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Java Example Codes and Tutorials

Go down

Java Example Codes and Tutorials Empty Java Example Codes and Tutorials

Post by evergreen Mon Jan 03, 2011 1:52 am

Java Example Codes and Tutorials




Tutorial 1 - Java Example Codes and Tutorials

Introduction.

Java
is great programming language for the development of enterprise grade
applications. This programming Language is evolved from a language
named Oak. Oak was developed in the early nineties at Sun Microsystems
as a platform-independent language aimed at allowing entertainment
appliances such as video game consoles and VCRs to communicate. Oak was
first slated to appear in television set-top boxes designed to provide
video-on-demand services. Oak was unsuccessful so in 1995 Sun changed
the name to Java and modified the language to take advantage of the
burgeoning World Wide Web.

Java
is an object-oriented language, and this is very similar to C++. Java
Programming Language is simplified to eliminate language features that
cause common programming errors. Java source code files are compiled
into a format called byte code, which can then be executed by a Java
interpreter.

About Java “Program once, run anywhere”

With the above the conclusion is that it can be run under any Operating System (Linux, Unix, Microsoft Windows).

New to Java?

If you are new to Java technology and you want to learn Java and make career in the Java technology then this is the tutorials for you.

Here
we explain how to learn Java and master the Java technologies. Follow
the tutorials step by step and by the end of the tutorials you will
have an excellent knowledge of the Java Programming language and its
several technologies.

The
Following tutorials and examples are arranged in a sequence, so that
you can learn Java step by step and master the Java and JEE
technologies.

Basics of Java Technology

This
section provides an overview of Java technology as programming language
and a platform. Java technology is a simple, secure, robust, complete
object oriented and platform independent high level programming
language. It is also portable, high performance, multithreaded and
network savvy that enable it in constructing software that can run
along in small machines. The whole technology is based on the concept
of Java Virtual Machine (JVM) that acts as a translator
of byte code into machine language. In other words JVM converts the
java byte codes into platform specific machine language.

Understanding the Java Technology

Java
technology is high-level, object-oriented, very robust programming
language. Java is platform independent programming language and you can
run your compiled code on any operating system without recompiling your
source code. Java technology is based on the concept of a single Java
virtual machine (JVM) -- a translator between the language and the
underlying software and hardware. All implementations of the
programming language must emulate the JVM, enabling Java programs to
run on any system that has a version of the JVM.

What do you need to start learning the Java Programming Language?

If
you want to start java programming then you need to use a text editor
to create and edit the source code. By using the Java complier, you
can change the source code into byte code. The byte code can be run on
any platform having Java interpreter that can convert the byte code
into codes suitable for the operating system. (This step is done for
you)

Another way:

Step 1: Download the Java SDK form the SUN MICROSYSTEMS website

(http://java.sun.com/javase/downloads/index.jsp). Download the latest JDK version JDK 6 Update 20


Step2: Download an Integrated Development Environment for development. Not just a Text Editor. Go to http://netbeans.org/ and download the latest version of the IDE.

Download the full version of Net Beans IDE 6.8.

These steps are done for you!!!

Why Java Technology is so important?


This high-level powerful programming language provides a powerful
software platform as the JVM installed on different platform understand
the same byte code. This is ideal for server side web programming and
runs in a secured manner over internet. It enhances the computing power
of the users by taking merely from desktop to the resource of the web.
It contains JVM and Java Application Programming Interface (API) that
are kinds of readymade software components, and for using any
component, the need is just to import a related package in your program
use the functionality. It offers development tools that can be used in
compiling, running, debugging and documenting the application, making
the Java programming fun and easy. The automatic garbage collection
mechanism helps in avoiding memory leaks and its coding takes less
development time than other programming languages like C++.

Questions

1. When was Java introduced?

2. Write some properties of Java Technology!

3. Explain in your own words how Java Technology Works.

4. What are the steps of setting up the environment for Java Development?
5. Why Java is a more Flexible Language compare to other Programming Languages?




more...

http://www.computersciencetutorials.com/joomla/index.php?option=com_content&view=section&layout=blog&id=1&Itemid=2


















:@: :@: :@: :@: :@: :@:
evergreen
evergreen

الجنس : Female

عدد المساهمات : 1497
النقاط : 59958
التقييم : 34
تاريخ التسجيل : 2010-02-03

https://3loomi.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum