Author: AOProgrammer

Visualization of a tree data structure 0

Inorder, preorder and postorder traversal

If you have been working with linear data structures like stacks and queues, you know that it is a pretty easy job to traverse them. They are linear, which tells us that they are also traversed linearly. One simply goes through one element at a time, in a linear fashion....

showing options in metasploit 0

Exploiting Windows XP SP3 using Kali Linux

In this article we’ll walk you through the act of exploiting a live install of Windows XP Service Pack 3. We’ll make use of the well known vulnerability in the netapi32.dll in the Windows Operating System. The vulnerability is in fact very dangerous because the attacker is not required to...

enqueue-in-priority-queue 0

The Priority Queue

The priority queue is a somewhat similar data structure to the queue. The difference lies in how the elements are being processed: A standard queue strictly follows the FIFO (First In Last Out) principle. A priority queue does not follow the FIFO principle. In a priority queue, the elements are...

Visualization of a queue data structure in java 0

What is a Queue?

Today I’ll cover the queue, which is a linear data structure. The workings of the queue are very intuitive and easy to understand, as it works just as a regular queue (i.e. in the grocery store). Unlike stacks,which follow the LIFO principle (Last In First Out), a queue follows the...

Singly Linked List and Doubly Linked List 0

Doubly Linked List in Java

In this article we’ll have a look at a data structure known as a Doubly Linked List. If you’re unfamiliar with Linked Lists, I highly recommend that you check out this tutorial on Linked Lists before proceeding. A Doubly Linked Lists (often abbreviated as DLL), is very much alike a...

Client Server Application using Java Server & ServerSocket tutorial 0

Java Socket & ServerSocket Tutorial

In this article you will learn how to program a very basic Client-Server application. The communication between the client and the server will be unidirectional. Said in other words, there will only be a one-way communication between the client and the server. We’ll also write some very simple tests alongside with this...

Basics of the Android Platform Architecture 0

The Android Platform Architecture

As an aspiring Android developer, we highly recommend you get a clear understanding of the Android platform – both it’s platform architecture as described in this article, and the activity life cycle. The Android Operating System is composed of a total of 4 logical layers, with a total of 5 sections....

Layout resources in Android should be provided through XML 0

Working with layouts in Android

For every Android activity that has an UI connected to it, there must be provided a layout. Layouts in Android are used to define the visual structure of the User Interface, as well as what kinds of widgets (Buttons, TextViews etc) the layout should contain. In this article we’ll be...

How to use logcat to see the android activity lifecycle 0

The Android Activity Lifecycle

In this tutorial we’ll explore the Android Activity Lifecycle. An Android Activity is a screen or a window that is presented through the UI – in other words, it is a screen or a window which the user can interact with. An activity typically contains UI widgets like Buttons, TextViews etc....

Difference between abstract class and interface in Java 0

Difference between abstract class and interface in Java

If you’re somewhat new to Java, you might have wondered what’s the difference between an abstract class and an interface. They sure pretty much seem like the same thing, right? The interface in Java Interfaces are commonly used when you want to decouple the the interface from the implementation. Said in other words, an interface...