Java

How to Get Operating System Using System Class In Java1 min read

Java Code:

Output:




System.getProperty(“os.name”) to detect which type of operating system (OS) you are using now.

Leave a Comment