Static Methods in Java

Similar Posts

  • The Factory Design Pattern

    The factory design pattern is one of the original design patterns by the Gang of Four. It follows the idea of using implementation of interfaces instead of different classes, and allows you to request a object from the factory. Now design patterns are not specific to a language. You will find that sometimes these patterns…

  • Java’s Vector Class

    The Vector, in Java, effectively implements a dynamic array like in other languages. This is because Java’s array is static in size, like the one’s found in C/C++. The vector can use an index to identify a specific element, however, it can grow and shrink based upon the size needs of the vector. Since early…

  • 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…

  • Interchangeable Sources

    As mentioned when we talked about three-tier systems, one of the key aspects is keeping elements separated so they can be updated/changed. You may have different User Interfaces, such as Web, Mobile, and even Desktop Applications, which can all co-exist because they call to load info from the business logic server (sometimes called app server)…