Xiaobai's advanced explanation of jar package and use jar package


Dingdu! Here is the compilation of Xiao Ah Woo's study course materials. A good memory is not as good as a bad pen. Today is also a day to make progress. Let's advance together!
Insert picture description here

1. Why do you want to type jar package?

The class file is usually given to others when it is used by others. But what if there are many categories?

那就把类变成一个压缩包!

The compressed package under windows is in .zip format, etc., while the compressed package in java programming tool is in .jar format.

2. How to view the jar package?

Just use the decompression software to decompress. After decompression, you can see which class files are inside.

3. How to develop jar package?

The development process of jar package:

步骤1:编写类

步骤2:打包成jar包

打包成jar包参见博文:
https://blog.csdn.net/qq_43543789/article/details/109144206

4. How to use jar package?

When someone sends a jar package (there are many class files in the jar package), how should it be used?

[IDEA adds a small note on the process of using jar packages] blog post: click here!

具体操作方法参见博文:
https://blog.csdn.net/qq_43543789/article/details/109145600

Ending!
More course knowledge learning records will come later!

就酱,嘎啦!

Insert picture description here

Note:
Life is diligent, nothing is gained.

Guess you like

Origin blog.csdn.net/qq_43543789/article/details/109145435