What is Java API-java


	public class HelloWorld{
         public static void main(String[] args) {

As a magic for programming beginners Although it is customary (?) To create a HelloWorld class at the beginning of learning It's easy to think that the Hello World class is the only class I created. Actually, it is a program consisting of a total of 348 classes that move in cooperation with other 347 classes.

Except for one class that I created, 347 classes are standard attachments to Java from the beginning. They are called ** API ** (Application Programming Interface).

The API comes standard with over 200 packages and over 3500 classes, and you can use it freely at any time. The API was created by developers around the world and is fast and bug-free.

Typical packages are as shown in the table below

package name Description
java.lang An important group of classes that are indispensable for Java
java.util Various classes that make programming convenient
java.math Classes related to mathematics
java.net Classes for network communication, etc.
java.io Classes for successive processing of data such as reading and writing files

In particular, many of the classes that belong to the ** java.lang package are used frequently **. It is designed to be ** automatically imported ** without any special import. System in System.out.println () is a java.lang.System class.

Recommended Posts

What is Java API-java
What is java
What is Java <>?
What is Java Encapsulation?
What is Java technology?
[Java] What is flatMap?
[Java] What is JavaBeans?
[Java] What is ArrayList?
What is Java Assertion? Summary.
What is a Java collection?
[Java] What is jaee j2ee?
[Java] What is class inheritance?
[Java basics] What is Class?
What is java escape analysis?
What is JVM (Java Virtual Machine)?
What is thread safe (with Java)
What is a lambda expression (Java)
What is Docker?
What is null? ]
What is Keycloak
What is Jackson?
What is Docker
What is self
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Facade? ??
What is Gradle?
What is centOS
What is RubyGem?
What is programming?
What is before_action?
What is Docker
What is Byte?
What is Tomcat
What is a class in Java language (3 /?)
What is the best file reading (Java)
What is a class in Java language (1 /?)
What is Java and Development Environment (MAC)
What is a class in Java language (2 /?)
What is the main method in Java?
What is `docker-compose up`?
What is a constructor?
What is the Java Servlet / JSP MVC model?
What is hard coding?
What is a stream
What is permission denied?
What is instance control?
What is Spring Tools 4
What is an operator?
What is object orientation?
What is the volatile modifier for Java variables?
What is Guava's @VisibleForTesting?
What is MVC model?
What is an annotation?
What is @ (instance variable)?
What is Gradle's Artifact?
What is JPA Auditing?
[Swift] What is dismiss?