Introducing Java
page 1 of 5
Published: 20 Jun 2007
Abstract
The basics of writing a program in Java are explained descriptively along with meanings of the keywords used in Java programs with examples to be understood by any person (technical or non-technical) who wants to learn about Java.
by Debjani Mallick
Feedback
Average Rating: 
Views (Total / Last 10 Days): 27650/ 43

Overview

Java is a purely object-oriented programming language developed by Sun Microsystems in 1991. Initially it was named "Oak" by Games Gosling and his team. In 1995, it was renamed as Java. Being an object oriented language, it has the features of object oriented programming language embedded within it such as the following.

Encapsulation -It is the process of combining the data and codes into a single unit called class.

Inheritance -It is the process of defining a new class from an already existing class. Here the existing class is called the baseclass and the new class is called the derived class. The derived class possesses all the functionalities of the baseclass as well as some new functionalities of its own.

Polymorphism -It is the property by virtue of which the same object behaves differently under different circumstances.

Primarily the motivation of developing Java was to create a language through which writing programs should be possible so that they can be executed in any kind of CPU and with the evolution of Internet, Java became popular for writing Internet based applications.


View Entire Article

User Comments

Title: Correction   
Name: Amit
Date: 2011-11-09 6:58:49 AM
Comment:
Bro u have to type properly.Its James Gosling not Games Gosling :)
Title: Beginners   
Name: Good Job
Date: 2010-11-30 1:29:11 AM
Comment:
It is really a good article for the bignners.
Title: It's really very nice   
Name: Alka
Date: 2009-12-11 5:29:39 AM
Comment:
Thanks for providing such an article.It's really great.....
Title: Good Article   
Name: Ranjan
Date: 2008-08-12 1:29:03 PM
Comment:
I dont know about others and I really liked this article. It was very informative.
Title: dis is hard   
Name: cook
Date: 2008-08-12 6:26:42 AM
Comment:
this is too hard and try to finish it
Title: more details should be there   
Name: Gururaj
Date: 2008-05-07 4:00:35 AM
Comment:
For any begineer, this article is not good to start
Title: Why java doesnt support multiple inheritance?   
Name: Sujata Sachdev
Date: 2008-01-16 4:30:39 AM
Comment:
Technically speaking, Java is a fool proof programming language. Every concept has been well understood before implementation.
Title: good job   
Name: Anuva
Date: 2007-06-29 3:44:46 AM
Comment:
Nice article.Very useful for bigners!
Title: Reply for(samarendra swain) why Java does not include multiple inheritance   
Name: Debjani Mallick
Date: 2007-06-25 8:12:57 AM
Comment:
Java was actually designed to be simple,familiar and object-oriented.To keep it simple and familiar, the language has been made as similar as possible to C++ but without including the unnecessary complexities of the C++ language like multiple inheritance which causes more problems and confusion than it solves.The avoidance of multiple inheritance from Java language is to avoid the "diamond" problem associated with implementation of multiple inheritance.The diamond probem is the ambiguity that arises when two classes B and C inherit from A and another class D is inherited gform both B and C.Now if a method in D calls a method defined in A,which class does it inherit via, B or C?To avoid this situation, multiple inheritance is avoided in Java.Instead we have Java implement multiple inheritance by using interfaces.
Title: Java for beginner   
Name: Arindam Parida
Date: 2007-06-25 5:20:15 AM
Comment:
It is really a good article for beginners.
Title: java does not support multiple inheritance   
Name: samarendra swain
Date: 2007-06-25 3:22:05 AM
Comment:
Thank u for article.i have a question that
why java does not support multiple inheritance?
i need the exact answers...i know that becz of complexity it doesn't support. still i wanna know the real deep answer.can u help me?
Title: Nice Article for the Beginners   
Name: Chandrakanta Kar
Date: 2007-06-25 3:03:32 AM
Comment:
It will help for the peoples working in different Technology.
Title: good   
Name: asabdjs
Date: 2007-06-23 11:54:18 PM
Comment:
nice one
Title: Abhinash   
Name: Good One
Date: 2007-06-22 1:47:19 PM
Comment:
Its really great keep up the good work!
Title: Tim   
Name: good work
Date: 2007-06-22 12:37:36 PM
Comment:
Keep up the good work
Title: Excellent   
Name: John
Date: 2007-06-20 12:26:44 PM
Comment:
The article is just fabulous.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-29 10:01:50 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search