Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why Java provides the API's ?  RSS feed

 
kishan Jaiswal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per the the JAVA ,java is an open source thats why it provides the API's so that vendors can write their own implementation/concrete classes for that API .
so as the java it obeys open source so I ' just thinking why do they not provide API for jdk why they provide concrete classes as part of JDK ?
 
Tim Moores
Saloon Keeper
Posts: 3755
78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure I understand the question - are you saying Oracle should just provide the API, and leave it to others to provide an implementation? What would other folks' incentive have been originally to provide an implementation?
 
Paul Clapham
Sheriff
Posts: 22266
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java being open-source is a very recent development. Historically Java was written by Sun, which was then bought by Oracle, as a programming language and it wasn't open-source. (It's true that they provided source code for much of the public API, but just providing source code doesn't make a product open-source.)
 
Why is the word "abbreviation" so long? And this ad is so short?
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!