Java Database Connectivity

Similar Posts

  • Java’s main Method

    Just like in C++, each executable Java project should have a main method. This isn’t just the “main” method that is run, but an actual method called main(). If you look at the previous page for creating a file, we can start from there. This will be a little different from the C++ main method,…

  • Inheritance in Java

    As you’ve seen in the UML class relationships, there is the ability to define a class, and a subclass. The subclass will get all of the properties and methods of the parent class, and can then add additional properties and methods that are not available in the parent. Consider two classes, a Shape2D and a…

  • Importing a Package

    Importing a package allows me to import a class, or set of classes into my application that I can use. (These will be outside of the package that I create for my own project.) These packages act like libraries in other languages where a lot of work might be done for you already, and you…

  • Java Arrays

    Arrays in Java are similar to C/C++ arrays, however there are some special unique things about them which make Java Arrays a little easier to work with in my opinion. Like in C/C++ you can have single dimensional or multidimensional arrays. Advantages to Arrays Like a C/C++ array, the array in Java is a contiguous…