Introduction to Flutter

One of the issues of developing mobile apps, is much like the issues of developing desktop applications for different operating systems – they require different applications to be written. Not only do they require different applications, they require different languages. Initially Android required Java and iOS required objective C – however those languages have changed….

The Differences between Hardware and Software for CS Students

Today I’m answering a question hardware versus software and a lot of times i get students who are just coming in they’re not quite sure they had some questions and they don’t even know the differences between hardware and software. That is perfectly okay if you think about it. School, whether it’s high school or…

Java Packages

Related Java Classes can be grouped together in something called a package. A lot of people like to think of this as being like a folder in your file system, where you group related files. The difference is, that it is your related Java Classes. We’ve already looked at UML packages, and Java packages are…

Java Constructors

Each object has a special method called a constructor. The constructor can be overloaded as necessary. Typically, you will have a default constructor (sometimes called a no-arg constructor), where no parameters is passed to the constructor. This special method is used to constructor an object when it is created. It is very similar to a…

Overloading Java Methods

As was mentioned briefly in talking about Java Instance Methods, you can overload a Java method, just as you would overload a C++ function/method. (C doesn’t allow for overloading, only C++). Since there is no method prototype, it is easy to just write your new method. I like to group my overload methods together, so…

Class Methods in Java

In object oriented programming, you consider the object which you are programming about, for example, a car. You then consider the attributes about the object, for example, the make, model, color, year built, etc. You also have consider the operations of the object. i.e. What can it do? A car for example could turn on…

Static Methods in Java

Static methods in Java work on the same basic idea of static functions in other languages like C/C++. The idea is that sometimes you have a function that either needs to be shared between instances, instead of tied to a specific instance, or to be used without needing to create an object from the class…