Computer Programming Tutorials
 
Web Development Tutorials
 
Web Designing Tutorials
 
Free Technology Ebooks
 
Free Scripts
 
Java Language Tutorial
What is JAVA
What is JAVA
Java an Object Oriented Language
Java an Object Oriented Language
Java Keywords
Java Keywords
Data Types
Data Types
Java Operators
Java Operators
Control Structure
Control Structure
Arrays
Arrays
Java Classes
Java Classes
Java Constructors
Java Constructors
Java Methods
Java Methods
Java Method Overloading
Java Method Overloading
Java Method Overriding
Java Method Overriding
Java Nested Classes
Java Nested Classes
Inheritance in Java
Inheritance in Java
Interfaces in Java
Interfaces in Java
Polymorphism in Java
Polymorphism in Java
Exception Handling in Java
Exception Handling in Java
Catching Exceptions
Catching Exceptions
Embedding information in an exception object
Embedding information in an exception object
The throws clause
The throws clause
Checked and unchecked exceptions
Checked and unchecked exceptions
The finally clause
The finally clause
Applets in Java
Applets in Java
Running an Applet
Running an Applet
HTML Tutorial
DHTML Tutorial
CSS Tutorial
XHTML Tutorial
C Language Tutorial
C++ Tutorial
Data Structure Theory Tutorial
PHP Tutorial
SQL Tutorial
JavaScript Tutorial
VBScript Tutorial
   
 

Popular Ebooks
The Magic Bullet
The Magic Bullet
Download Free EBooks
Electromagnetic Waves and Antennas
Electromagnetic Waves and Antennas
Download Free EBooks
Ajax Design Patterns
Ajax Design Patterns
Download Free EBooks
Income Plan
Income Plan
Download Free EBooks
Landing Page Success Guide to Millions
Landing Page Success Guide to Millions
Download Free EBooks
 
  Learn Java Language

Java Language Tutorial

Java is an object-oriented programming language. It has a built-in application programming interface (API) that can handle graphics and user interfaces. It can be used to create applications or applets. The syntax of Java is similar as C and C++. The biggest difference is that you must write object oriented code in Java.
You can embed procedural pieces of code only in objects. Another difference is that Java does not have pointers.
Java is a general purpose programming language with a number of features that make the language well suited for use on the World Wide Web. Small Java applications are called Java applets.
In our java tutorial you will learn the Object Oriented Programming with Java in detail.

 

 

 
What is JAVA
Java is a high-level object-oriented programming language developed by the Sun Microsystems. Though it is associated with the World Wide Web but it is older than ...
Java an Object Oriented Language
OOP stands for Object Oriented Programming. OOPs provide a better flexibility and compatibility for developing large applications. This is a technique us...
Java Keywords
Java language has the following keywords.  ...
Data Types
Java variables are assigned a data type in one of four basic categories: Arithmetic ...
Java Operators
Operators are used to manipulate primitive data types. In Java, there are six categories of operators....
Control Structure
Control structure includes the looping control structure and conditional or branching control structure. ...
Arrays
When many items of data of the same class or type have to be stored, it is more efficient to use an array than separate variables or objects. For example, i...
Java Classes
Classes are the fundamental building blocks of a Java program. You can define an Employee class as follows: class Employee {...
Java Constructors
A java constructor has the same name as the name of the class to which it belongs. Constructor's syntax does not include a return type, since c...
Java Methods
A method is a group of instructions that is given a name and can be called up at any point in a program simply by quoting that name. For instance, ...
Java Method Overloading
In Java it is possible to define two or more methods within the same class that share the same name, as long as their parameter declarations ar...
Java Method Overriding
In a class hierarchy, when a method in a subclass has the same name and type signature as a method in its superclass, then the method in the su...
Java Nested Classes
In Java programming language, when a class is defined within another class then such a class is called a nested class. Nested classes are a fea...
Inheritance in Java
Inheritance is the capability of a class to use the properties and methods of another class while adding its own functionality. An exam...
Interfaces in Java
Interfaces are similar to abstract classes but all methods are abstract and all properties are static final. Interfa...
Polymorphism in Java
Overloaded methods are methods with the same name signature but either a different number of parameters or different types in the parameter li...
Exception Handling in Java
Exception handling is a very important yet often neglected aspect of writing robust software. When an error occurs in a Java program it usually...
Catching Exceptions
To catch an exception in Java, you write a try block with one or more catch clauses. Each catch clause specifies one exception type that it is p...
Embedding information in an exception object
When you throw an exception, you are performing a kind of structured go-to from the place in your program where an abnormal condition was detect...
The throws clause
As you may have guessed from the examples above, the Java language requires that a method declare in a throws clause the exceptions that it ma...
Checked and unchecked exceptions
There are two kinds of exceptions in Java, checked and unchecked, and only checked exceptions need appear in throws clauses. ...
The finally clause
Once a Java virtual machine has begun to execute a block of code -- the statements between two matching curly braces -- it can exit that block i...
Applets in Java
An applet is a small program that is intended to be embedded inside another application such as a browser. The JApplet class must be the superc...
Running an Applet
We need to use html code to run applets. The minimum html required to run applet with a browser (java host) is as follows: ...
 
   
 
Advertisement

 

 
programming tutorials
StudiesInn.com © 2010All Rights Reserved.
programming tutorials