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…

Loops in Dart

Loops in Dart a similar to loops in the C style languages. You have conditional loops (the while and do while) and counting loop (for). Additionally you have a for…in loop (like a for each). The For Loop This is identical to your for loop in C/C++/Java. This loop is good for going through a…