# Tag: java

## How to Program a Tic Tac Toe Console Game in Java

I have been busy with other things, so it’s been a while since my last post. In this post I will be showing you how...

## Converting Decimal to Hex in Java

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25...

## Prime Factorization with Recursion in Java.

Prime factors of a number, are all numbers that are prime and multiplied gives you the original number. Let’s take the number 20 for example,...

## Prime Numbers in Java.

A prime number is a positive integer that has exactly two factors, 1 and the number itself. We know 0 is neither a positive nor...

## Palindrome Numbers

A palindromic number reads the same both ways eg. 10201, 12321, 14641, 40804, 44944, 69696 , here is a Java code that displays the largest...

## TicTacToe Game (Java Code).

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25...

## Fibonacci Numbers

In Mathematics the Fibonacci numbers are the following sequence of numbers 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55….. the first two...

## Port Scanner with Java

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 try { String host =...

## Writing and Reading (Input/Output) From Files in Java.

In this article, I’m covering the common task of reading and writing files that contain text that are created with a simple text editor like...

## Quick Intro to Polymorphism with Java.

Polymorphism is the capability of an action or method to do different things based on the object that it is acting upon. This is the...

## Finding the Maximum or Minimum in Java.

One of the more fundamental concepts to uderstand in programming is in finding the maximum or minumum in an array. Suppose you want to find...

## An Introduction to Inheritance in Java.

Inheritance: is a mechanism for enhancing existing classes. If you need to implement a new class and a class representing a more general concept is...