• Post Reply Bookmark Topic Watch Topic
  • New Topic

How the code abstraction and code reusability is implemented in the API  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi dear friends
I am a beginner to the OOP. So want to study the java. please i have a question about the API(Application Programming Interface). So how to the code abstraction and code reusability is
implemented in the API. please give me some basic answer with using existing API. actually what is the existing API?
 
author & internet detective
Marshal
Posts: 37518
554
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suna,
Welcome to CodeRanch!

The API is just a contract. The built in Java classes do have abstraction and reusability though. For example, the Collections class has a sort method. You don't have to rewrite sort logic when you want to sort (reusability).

I don't feel like I'm answering your question; can you elaborate on what you are looking for?
 
Suna Dev
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly i want to some information about "How the code abstraction and code reusability is
implemented in the API" Using some example exiting API
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both "abstraction" and "code reusability" have several meanings, depending on context. Can you ask your question in more specific way?
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Duna,
Your question is very general. You are going to have to be more specific. What exactly are you looking for? That can help answer in a more clear way.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!