Software Engineering & The Software Crisis, Introduction

Software engineering is an engineering discipline that is concerned with all aspects of software production from the early stages of system specification to maintaining the system after is has gone into use. Software engineering uses the appropriate theories and methods to solve different problems that we might face. It considers organisational and financial constraints too,… Continue reading Software Engineering & The Software Crisis, Introduction

What Are Algorithms & Computational Problems?

In this article I’ll be going through algorithms and computational problems. Each with some examples and simple explanations. What is an Algorithm? An algorithm is defined a computational procedure is a that takes inputs and produces¬†outputs. The are often many different algorithms that solve a single problem. What is a Computational Problem? A computational problem… Continue reading What Are Algorithms & Computational Problems?

A Basic Overview of PHP OOP (Object-Oriented Programming)

OOP consists of programming languages that manipulate Objects. They tend to use data more than logic. What are some advantages of OOP? Code is really easy to reuse. We use lots of Classes, Objects and Methods/Functions that can be called throughout your program. Encapsulation, which stops commands leaking outside of functions. Keeps everything in scope.… Continue reading A Basic Overview of PHP OOP (Object-Oriented Programming)

Java GUI Tutorial: Swing, JFrame, JPanel, JButton, FlowLayout …

Graphical user interfaces are the quintessential part of any commercially¬†available¬†software. Could you imagine buying Microsoft Word if you had to input via command line? I certainly couldn’t. But, for many, making a GUI is tricky. Especially in Java. So, I’m going to shed the light on how to use Java’s Swing to create a basic… Continue reading Java GUI Tutorial: Swing, JFrame, JPanel, JButton, FlowLayout …

The Difference Between Method Overloading & Overriding in Java!

Overloading is the implementation of two more methods in the same class with different parameters (or arguments). Overriding is the implementation of two methods that have the same implementation but process differently. For example, you want to run a pizza deal, you would make an override method for your order. If a person orders 1… Continue reading The Difference Between Method Overloading & Overriding in Java!

How Many Constructors Can A Class Have (Overloading Examples)?

Classes in Java can have as many constructors as you like. Using “overloading” you can create an Object with different parameters. You can have constructors with no parameters, some with, some with partial amounts… What ever you like. Here’s an example.

This only real issue that you will run into is if you doing… Continue reading How Many Constructors Can A Class Have (Overloading Examples)?

The Difference Between Instance & Static Methods in Java

An instance method is a method used only for THAT VERY INSTANCE. A static method is FOR EVERY INSTANCE. Here’s a little code snippet to make your life easier. As usual.

In the case above. If you set the name in a static way.. all the persons are called John Doe. If you make… Continue reading The Difference Between Instance & Static Methods in Java