| | |
pls clear doubt
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Try this link.
And if you still cannot figure it out then let us know.
And if you still cannot figure it out then let us know.
Last edited by stephen84s; Dec 15th, 2008 at 9:57 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
•
•
Join Date: Oct 2008
Posts: 25
Reputation:
Solved Threads: 0
Sir,
the letmegoogleit.com was excellent.
thanks for telling me that I can do that.
but,I have found this but it still doesnt clear my doubt
the asking program uses a set of standardized requests, called application programming interfaces (API), that have been defined for the program being called upon. Almost every application depends on the APIs of the underlying operating system to perform such basic functions as accessing the file system. In essence, a program's API defines the proper way for a developer to request services from that program.
Does this mean that if i use methods like nextToken() from StringTokenizer,or I can call my class an API as someone can use it in his program.
the letmegoogleit.com was excellent.
thanks for telling me that I can do that.
but,I have found this but it still doesnt clear my doubt
the asking program uses a set of standardized requests, called application programming interfaces (API), that have been defined for the program being called upon. Almost every application depends on the APIs of the underlying operating system to perform such basic functions as accessing the file system. In essence, a program's API defines the proper way for a developer to request services from that program.
Does this mean that if i use methods like nextToken() from StringTokenizer,or I can call my class an API as someone can use it in his program.
IT depends on if your program has something to offer for others. An API offers an abstraction for some low-level tasks while doing some higher level tasks. Let me give you an example of address book itself (since your program dela with it) An address book has contacts which can be created, edited and deleted. Further more it is also supposed to offer functionality such as searching of a contact. Now if you write a collection of classes that provide this basic functionality like say you store contact's using a List and implement the create, edit, delete and search functions. Meaning you provide the most general address book operations through your classes so that developers, using your library, might be able to implement an AddressBook feature without worrying about the details of create, edit and delete (they just call your functions) then you might be able to say that you have provided an API for an AddressBook.
Now deciding whether your program is an API or not is pretty straight forward.
Now deciding whether your program is an API or not is pretty straight forward.
Last edited by verruckt24; Dec 15th, 2008 at 10:49 am.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
![]() |
Similar Threads
- Help PLs Gigabyte,AMD2+,Patriot 1066 Ram won't run at 1066MHz (Motherboards, CPUs and RAM)
- About Comm Port (Visual Basic 4 / 5 / 6)
- help pls.. database related! (VB.NET)
- string size problem (C)
Other Threads in the Java Forum
- Previous Thread: Please help
- Next Thread: strange java behaviour?
| Thread Tools | Search this Thread |
-xlint add android api applet application array arrays automation bi binary blackberry bluetooth chat class classes client code compile compiler component converter database digit eclipse equation error event exception fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image input int integer j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux list login loop main map method methods mobile myregfun netbeans newbie nonstatic notdisplaying page pearl print problem program programming project qt recursion scanner screen scrollbar server set size sms sort spamblocker sql string superclass swing system thread threads time tree variablebinding windows xor






