# 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 to program a simple Tic… Read more »

## 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 26 27 28 29 30… Read more »

## 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, all prime factors of 20… Read more »

## 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 a negative number. Otherwise, 0… Read more »

## 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 Palindrome numbers from the product… Read more »

## 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 26 27 28 29 30… Read more »

## 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 numbers are 0 and 1… Read more »

## 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 = "server-box"; InetAddress addr = InetAddress.getByName(host);… Read more »