Java has built-in libraries that a java application can call at run time.
I created a class called test, and it has method doSomething, how can I make this class as a built-in class such that a java application can import this class directly (not as an external class)?
For example, for Scanner class we can import directly:
import java.util.Scanner;
I want my test class to work just like Scanner Class:
import java.util.test;
(Something like this, not sure the exact syntax)