Find MAC address using Java

Recently i wanted to get the MAC addresses of the computer i was working from within my Java program. I started a small quest and all over there was this tip “this is system dependent so you need to make system calls”. Somewhere around there i found a...

Java XOR Encryption

A few months ago (see related posts) i released a small package for a XOR encryption in C. Now, here i am with an even smaller program for XOR encryption in Java. As expected, in Java it was way easier to implement it than C. No pointer loses, no “segmentation...

Java crash course #5: Overloading vs Overriding

On the previous articles we mentioned both overloading and overriding but we didn’t pay sufficient attention to them. Those two meanings are among the most important ones in Object Oriented programming and design. It’s not a matter of usage it’s a...

Java crash course #4: Inheritance

The previous three courses were just the beggining. In the last one we started getting somewhere since we could see what is a constructor and what overloading is. A fundamental thing on object oriented programming is called “inheritance”. On real life it...

Java crash course #3: Constructors and overloading

On the previous 2 articles of the series we started our first steps towards Java programming. I hope i made clear on how Java works in general and what a scope is. In the previous tutorial we issued a “new” and created an instance but we had no clue what...