Paste number 60609: netbeans Using System Properties java.util.Properties

Paste number 60609: netbeans Using System Properties java.util.Properties
Pasted by: morteng
5 days, 3 hours ago
None
Paste contents:
Raw Source | XML | Display As
9.    Given:
           class TestProps {
             public static void main(String[] args) {
               String s = System.getProperty("aaa","bbb");
             
}

           
}

      And the command-line invocation:
           java -Daaa=ccc TestProps

This paste has no annotations.

Colorize as:
Show Line Numbers

Ads absolutely not by Google

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.