Tag: java

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...

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 =...

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...
Sign up for our Newsletter

Download "Google Search Pro"

Enter your email and stay on top of things,

Subscribe!