System.getProperty("os.name") return the Operating System name in java.
Example
package com.pretech;public class OSNameExample {public static void main(String[] args) {System.out.println(System.getProperty("os.name"));}}
Output
Windows 7
Model Context Protocol (MCP) — Complete Guide for Backend Engineers Build Tools, Resources, and AI-Driven Services Using LangChain Moder...
No comments:
Post a Comment