Several methods of Java process calling external program
Several methods of Java process calling external program
The floor sweeper has recorded the notes of controlling the remote server through the Java program and then calling the specified program. Use java code to connect to the software in the Windows server in the LAN and execute instructions
Now I will briefly summarize several methods of Jav ...
Posted by jswash on Sun, 09 Jan 2022 16:01:20 +0100
Enumerating enum+Runtime runtime classes
1, Enumeration class
The number of objects in a class is considered to be limited and fixed. You can list the objects in some classes one by one.
1. Enumerate class interface enum through enum description 2. Public enum day {Monday, Tuesday} can be directly enumerated in the enumeration class 3. Directly access the attribute name (enumerat ...
Posted by MiniMonty on Thu, 11 Nov 2021 03:08:04 +0100