Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

what is extensibility?

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is meant by Java being an extensible language?
thanks in advance.
sunil
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Dale

------------------
By failing to prepare, you are preparing to fail.
Benjamin Franklin (1706 - 1790)
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Talking about extensibility:
http://www.javaranch.com/campfire/StoryPoly.jsp
 
reply
    Bookmark Topic Watch Topic
  • New Topic