Java’s main Method

Similar Posts

  • Intro to Layout Managers

    We’ve been using the null layout manager, in our previous examples of Java Swing. This is sometimes referenced as an absolute positioning layout, because we are required to control how the items are laid out and where. We do this with setBounds() or another method which allows us to define both the size of the…

  • Java Interfaces

    A Java Interface, as first glance, may look similar to a class. However, there are important differences, not only in how it is used, but in defining it from a class that make it worth noting. Uses of an Interface Java prevents a developer from extending a Class with two or more classes. This is…

  • Console Inputs in Java

    Reading from the console is something that most people learn to do in a single line or two of code in most languages. However, Java is not most languages… Consider Python: C++ Java So what is going on with that? System.in So lets start with the System.in. This is the console input stream object, just…

  • Loops in Java

    Loops in Java work similarly to how you remember loops in C/C++ most likely. You have your counting loop (for), as well as your pretest conditional loop (while), and the conditional post test loop (do-while). Each of these work the same way you would expect them to in C/C++. For Loop The for loop is…

3 Comments

Comments are closed.