Articles in the Development Category
Development »
Everyone who has been into development have at least once run into a problem which is to be solved by using a regular expression. The power of these can totally smash the most complex problem into a piece of cake, but the problem remain that very few people actually understand how these expressions work.
Development »
ARRAYLIST and ARRAY are quite alike but in the same way very unlike. They can both keep data in a structure which you can walk through in different ways but the ArrayList is a bit more dynamic in how we can use it.
An Array is always declared with a static amount of data. In the example below we create an Array named myNumbers with space to hold three integers.
int[] myNumbers = new int[3];
UPON CREATION they will all be set to 0 so actually they exist directly after creation. If we …
Development »
WHEN WE EXECUTE a bit of code there is almost always the possibility for something to break. Sometimes it can be the purpose of the code to break because if it didn’t do so the consequences might be more severe. When these cases arise we call them exceptions or exceptional events.
To explain this in it’s most simple state we can look at a very small program which consist of a parent-class (main) and a child-class (subMeth) in which the child-class tries to divide an integer with zero.
public class TopDog {
…
Development »
WHEN I TRY TO LEARN a new subject I always thought the best way is to try to explain what I’ve learned to someone else. Therefore I’m continue my experience with Java here and try to xplain in steps what I have been doing and learning.
So let’s get to create an easy class with some basic content. We start with the skeleton of my ‘Car’ class.
public class Car {
public Car(){
}
}
We need to state what fields exist for our car, in other words what are the caracteristics …
Development »
SO I FINALLY got into the spirit of coding Java, I know I know I have been talking about taking this up since the last time I wrote a line back at the university but now the time has come. As one always do when facing a new language or one you haven’t touched in quite some time, I picked up an editor and wrote my Hello World!
FIRST OF ALL I had forgotten all about that main declaration but when I got that one if kind of created itself.
public class …


(4.00 out of 5)