πŸ“Š JAVA
Q. Which Java method is used to detect the OS in which Java program is being run?
  • (A) system.getOSdetails()
  • (B) system.get(os.name)
  • (C) system.getProperties("os.name")
  • (D) system.getProperties("os")
πŸ’¬ Discuss
βœ… Correct Answer: (C) system.getProperties("os.name")

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
318
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate