search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
110 views
asked Sr Member 4.8k points 10 25 31

1 Answer

0 votes
public class Main {

  public static void main(String[] args) {
    System.out.println(System.getProperty("os.name"));
  }
}

output
Windows NT
answered Geek 15.3k points 16 41 63

Related questions

0 votes
1 answer 932 views
932 views
asked augustaina Sr Member 4.8k points 10 25 31
0 votes
1 answer 113 views
113 views
asked augustaina Sr Member 4.8k points 10 25 31
0 votes
1 answer 22 views
22 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 20 views
20 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 115 views
115 views
asked rock Expert 15k points 15 23 30
...