In this article you will learn about basic details of Java. It is about Java Tutorials for Beginners | Java Features
For more details on this topic please visit: http://www.speed4career.com/blog/
2. About Us:
In modern days economic system the most
valuable asset is knowledge. Day by day
increasing competition and invention of
cutting edge technologies are the results of
revolution in the global Educational system
and use of process oriented learning
environment.
This process oriented learning environment
is essential for the modern corporate world.
Speed4career.com understands the nature
of this revolution.
We are committed to this process oriented
learning environment and set our goals to
help in creating a better modern corporate
world, more over a better world for our
future generation.
3. In this quest for creating a process oriented
learning environment www.speed4career.com
introducing a new module – Tutorial.
In this “Tutorial” module we are discussion
about the BEGINNERS lesson for the technology
related subjects.
All the Tutorials are created by the INDUSTRY
EXPERTS working on the same field for years.
For more details please visit:
www.speed4career.com/blog
4. Introduction to Java
Java is a high-level, platform-independent,
object-oriented programming language
developed and released by Sun
Microsystems in the year 1995.
The main objective behind creating java was
to develop an all-machine-compatible
programming language so that the same
program did not have to be written
separately to be run on different machine.
5. Introduction to Java
Moreover the advent of Wold Wide Web and
Internet added fuel to the rapid growth of
Java as the programmes were now shared
among a wide diversity of user machines
(different types OS, CPU, etc) and a platform
independent language was mandatory.
Thus platform-independence was the key
characteristic of Java that makes it so
popular and increases its demand.
6. JAVA: FEATURES
Before we enter into Java programming we
must first get a brief idea about its versatile
features. Only then can we easily grab the
techniques of writing a program:
Object-oriented programming:
Programs consists of two parts i.e. code and
data. The programming language that circles
around the data is called object-oriented
programming and the one that focuses on
the code is called process-oriented
programming. Java follows the basic
principles of OOP like Abstraction,
Encapsulation, Inheritance and
Polymorphism. Each of these will be
illustrated as we learn Java in further details.
7. Platform independent
Java follows the principle – ‘WRITE ONCE,
RUN ANYWHERE’ making it portable and
architecturally-neutral. This is achieved by
the generation of Bytecode. Bytecode is the
set of non-executable instructions that is
generated by the Java compiler. Java Virtual
Machine (JVM) is the interpreter of this
bytecode that changes it into executable
code. For this reason when we compile a
‘.java’ file it create ‘.class’ file and not ‘.exe’
file. This ‘.class’ file is the bytecode.
P.T.O
JAVA: FEATURES
8. The main advantage of this kind of behaviour
is that the bytecode generated can run on a
wide variety of machines if only the JVM is
installed. JVM can be different for different
platform but if it is installed it can run any
Java code.
Dynamic:
Java links the codes at the run-time
depending on the object invoking it.
Overridden methods and interfaces are
dynamically dispatched at the run-time
making it more safe and robust. Java
implements run-time polymorphism by
Dynamic Method Dispatch. This will be
discussed elaborately when we study
method overriding in detail.
JAVA: FEATURES
9. Multithreaded:
Java provides multiprocess execution in a
synchronised manner with the help of built-
in support for multithreaded programming.
When a program has two or more path of
execution it is called a multithreaded
programming. This increases the efficient use
of CPU by minimizing its idle time.
Security:
Java ensures security to a great extent
because the executions of java programs are
under the control of JVM and it can be
prevent it from any malicious activities.
When a Java-compatible browser is available,
java applets can be safely downloaded
without any viral attack.
JAVA: FEATURES
10. Java Applets and Applications:
There can be two types of java programmes-
Applications and Applets. Applications are
programmes that run on a stand-alone
computer and similar to programmes written
in any other language. On the other hand
Java Applets are small java programmes
created to be transmitted over internet and
downloaded by the uses on their machine.
JAVA: FEATURES
11. Thus learning Java is a big craze among
application designers and programmers and
it not too tough if studied systematically with
proper illustrations. We will start with
programming in our next lesson.
For more details please visit:
http://www.speed4career.com/blog/category
/java/
JAVA: FEATURES