How do you import a Java api package into your code?(I assume your code playground?) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you import a Java api package into your code?(I assume your code playground?)

Importing Java packages from the internet.

19th Jan 2020, 3:01 AM
Sherlock Holloman
Sherlock Holloman - avatar
1 Answer
0
// for standard Java API, add at begin of surce code before class import java.util.Arrays; import java.io.*; non-standard (your own) packages are not supported here, but you can copy every codes in one source file
19th Jan 2020, 8:14 AM
zemiak