+ 3

What is meant by Java API?

Recently i stumbled upon on Java API Which I don't know, Can u guys help me for this situation( I am trying to finish Alll the Java Concepts, So thats why)

25th May 2025, 8:04 AM
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞 - avatar
8 Antworten
+ 7
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞 , in general an API is a way for computer programs to communicate and use each other’s features, abilities or data in a structured way. example: when an app for stock prices shows current values trends and other information, it uses an API to request data from a stock service. that API defines what data you can ask for, and how to ask for it.
25th May 2025, 8:30 AM
Lothar
Lothar - avatar
+ 6
Java Api is like a toolbox.for example:instead of writing everything from scratch,you can reuse existing tools
25th May 2025, 8:09 AM
𝕡𝕖𝕟𝕘𝕦𝕚𝕟 𝕔𝕠𝕕𝕖𝕣 🐧
𝕡𝕖𝕟𝕘𝕦𝕚𝕟 𝕔𝕠𝕕𝕖𝕣  🐧 - avatar
+ 4
Np 😁
25th May 2025, 11:10 AM
𝕡𝕖𝕟𝕘𝕦𝕚𝕟 𝕔𝕠𝕕𝕖𝕣 🐧
𝕡𝕖𝕟𝕘𝕦𝕚𝕟 𝕔𝕠𝕕𝕖𝕣  🐧 - avatar
+ 2
Lothar Thanks 🙏
25th May 2025, 10:53 AM
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞 - avatar
+ 2
Java API (Application programming interface) is a large collection of basic ready-made programs that you can use in your programs. All Java classes, interfaces, their methods that are available to you right after installation are in Java API. For example, the method System.out.println() is in the java.lang package imported automatically from java API. Other packages need to be imported manually into your program, for example: import java.util.ArrayList; complete documentation is here https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/util/ArrayList.html The Java API is extensive, but there is no point in learning it all, it is enough to learn selected most used packages and data structures e.g. something from java.util (like ArrayList, HashMap) and from java.lang like (String, Integer, Double, Math). later as needed (like java.util.stream, java.io).
26th May 2025, 5:52 AM
zemiak
25th May 2025, 10:53 AM
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞
𝗟𝗼𝗸𝗲𝘀𝗵𝘃𝗮𝗿𝗲𝗻 𝗞 - avatar
0
What do you tried creating dude
25th May 2025, 2:24 PM
Claudio
Claudio - avatar
OSZAR »