Java Tutorials - Java Example Codes and Tutorials
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 bytecode, which can then be executed by a Java
interpreter.
New to
programming..
|
Else a classical programmer ! No more fear of
pointers...
Break the
old rhythm. Explore the new horizons.
Be a crew member to the new Ship...
|
|
 |
Detailed Java Course Material |
 |
| |
Section I - Introduction to Java
This section introduces you the Java
programming language. These days Java programming language is
being used for programming web applications. It is also
widely used for mobile and electronic items.
- 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 the origin of
Web.
- Java
as an Internet Language
Java is an object oriented language and a very simple
language. Because it has no space for complexities. At the
initial stages of its development it was called as OAK. OAK
was designed for handling set up boxes and devices.
- Java
as general purpose language
Java is an Object oriented application programming language
developed by Sun Microsystems.
Java Features
- Case
sensitivity
What is case sensitivity:
Case sensitivity is the mechanism in which words can be differ
in meaning based on different use of uppercase and lowercase
letters.
- Java
is Simple and platform Independent
The concept of
Write-once-run-anywhere (known as the Platform independent) is
one of the important key feature of java language that makes
java as the most powerful language.
- Java
Enabled browsers
Java language is the most powerful language and is
widely used in the web application. Today most of the web
browser are java compatible.
Java Tools
- Java
Compiler
To commence with Java
programming, we must know the significance of Java Compiler.
- Java
Interpreter
We can run Java on most
platforms provided a platform must has a Java interpreter.
- Java
Debugger
Java debugger helps in
finding and the fixing of bugs in Java language programs.
- Java
Header File Generator
In Java programming we
need to implement some native methods. To implement these
methods Javah generates C header and source files that
are used by C programs to reference an Object's instance
variables from native source code.
- JavaDoc
This tool is used to
generate API documentation into HTML format from Java source
code.
- Applet
Viewer
Applet viewer is a
command line program to run Java applets.
Section II- Java Language
- Java
Comments
To comprehend any programming language, there are several
kind of comments which are used.
- Java
Keywords
There are few keywords in Java programming language.
Remember, we cannot use these keywords as identifiers in the
program. The keywords "const" and "goto"
are reserved though, they are not being currently used.
- Java
Data Types
Java programming language is a language in which all the
variables must be declared first and then to be used i.e. to
specify the name and the type of the variable. This specifies
that Java is a strongly-typed programming language
- Literals
By literal we mean any number, text, or other information
that represents a value. This means what you type is what you
get. We will use literals in addition to variables in Java
statement. While writing a source code as a character
sequence, we can specify any value as a literal such as an
integer.
- Arrays
In this section you will be introduced to the concept of
Arrays in Java Programming language. You will learn how the
Array class in java helps the programmer to organize the
same type of data into easily manageable format.
- Operators
Operators are symbols that performs some operations on one
or more then one operands. Once we declare and initialize
variables, we can use operators to perform certain tasks like
addition, subtraction etc.
- Controlling
your program
We all know that the execution of the statements in a
program takes place from top to bottom. We will learn how the
different kinds of statement have different effects in looping
like decision-making statements (if-then, if-then-else,
switch), the looping statements (for, while, do-while), and
the branching statements (break, continue, return) in Java
programming language.
- Java
Classes
In this section you will be introduced to some essential
classes in Java like Exceptions, Basic I/O, Concurrency etc.
- Class
Inheritance
To know the concept of inheritance clearly you must have
the idea of class and its features like methods, data members,
access controls, constructors, keywords this, super etc.
- Summary
You have been introduced to the contents of Java language
providing a great amount of information. Perhaps it would be a
bit arduous to grasp the whole lot of things at one go.
However, the implementation of these little basics will make
you a substantial programmer.
Related Java Tutorials/Articles
- Java Tutorial and articles
Here you will find articles related to the Java Programming Language. Some of the articles are:
Deadlocks in Java, Java GC, Java Compile Time Constants, Enum Inversion Problem, Head First Design Pattern, LinkedList vs.
ArrayList, Java Break to Label Statement, Strategy Pattern of Hascode Equality, Object Adapter based on Dynamic Proxy, Making Enumerations Iterable, JTable in JDK, JDK 1.5 Performance Surprises ... Click Here to View all tutorials
- Java Tutorials - Complete Java Tutorial for Beginners and Advance Programmers
- Java Security Packages JCA/JCE
In this tutorial, the author explains the cryptography-related concepts and packages in JDK, with code examples. Many of the concepts and technical terms thus learnt will be useful in understanding the Cryptography API in MFC also.
Browser All Tutorials
Latest Java News |
|
 |
|
 |
|
|
|
|
Current Comments
48 comments so far (post your own) View All Comments Latest 10 Comments:Hi,
If any one is havign idea about it, plz share your knowledge.
Regards,
Maulik
Posted by Maulik Kayastha on Friday, 09.19.08 @ 20:04pm | #80556
plz, I want source code under java language for the "Mailing List ",
plz ,plz, plz try to send it ...
Posted by roze on Saturday, 09.13.08 @ 11:26am | #79078
Well, i don't know where to send this comment, actually i sent my question to the Ask Question page but my question doesn't appear on that page. Does anyone know y is that and will i get the answer of my question.?
thanks
Posted by sal85 on Saturday, 09.6.08 @ 04:49am | #77381
very good website for learning
Posted by sakthivelu on Friday, 09.5.08 @ 17:48pm | #77258
To learn java means u have to refer roseindia.net .It is an excellent guiding tool
Posted by Praveena on Tuesday, 08.19.08 @ 12:23pm | #73725
i need georgian calendar source code in java
Posted by usha on Sunday, 08.3.08 @ 19:16pm | #70766
sir
i have lot of konowlege in java
Posted by appu on Monday, 07.7.08 @ 15:38pm | #66128
How do you support pointers are not availabel in java language?
Posted by chary on Friday, 06.13.08 @ 12:11pm | #63184
i need to know the c2j-convertor,i am developing code for that,so i need information about c2j in PDF,and also the applications of c2j,its urgent,send it immediately
Posted by kavitha on Thursday, 05.1.08 @ 07:59am | #58266
What is the difference between Equi and Inner Joins?
Posted by G.VENU PRASAD on Thursday, 03.20.08 @ 17:14pm | #53479