Welcome To Snipplr


Everyone's Recent Java Snippets Tagged command



« Prev 1 Next »
  1. FAV

    Parse command line in java

    input: -width 123 -height 234 -minimized -visible output map: {"-width":"123", "-height":"234", "-minimized":null, "-visible":null}
    Java 3 views posted 9 years ago by tactoth
  2. FAV

    RectangleTest.java

    This is a test driver class. It instantiates a few rectangles with varying lengths and widths and then prints their areas and perimeters. What is odd is the output I get from NetBeans for the "stupid" rectangle. The program prints its value as "12...
    Java 1 views posted 10 years ago by joshnunn
« Prev 1 Next »