File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes what is extensibility? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "what is extensibility?" Watch "what is extensibility?" New topic

what is extensibility?

sunil kumre
Ranch Hand

Joined: Dec 23, 2000
Posts: 64
what is meant by Java being an extensible language?
thanks in advance.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
It means that it can be extended.
When COBOL was written, all the commands and actions allowable were inbedded in the COBOL compiler. As a programmer I could not invent new commands and use them.
In java you can invent new classes and methods and use them. Therefore it is extensible. You can take on class libraries and they interact with the JRE seamlessly.
The same thing with XML. HTML has a set of tags that can be used, and thats it. Whatever set the browser supports is what you get. XML on the other hand, allows the programmer to invent new tags and use them interactively with HTML tags.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
Extensible basically means that you can expand on what is currently built. So if someone has a class that they have built, you can use that class and build on that even more. I may make a class called Graph that accesses the graphipcs library and builds some simple graphs for me. If I leave exposed some of the functionality of this class, you may be able to build on it. Example, you might create a class that extends from Graph called BarGraph and yet another one called PieGraph. This makes the language very powerful and makes code reuse a key component of the language.

By failing to prepare, you are preparing to fail.
Benjamin Franklin (1706 - 1790)

By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

Talking about extensibility:
I agree. Here's the link:
subject: what is extensibility?
It's not a secret anymore!