Swap Two Numbers Without a Third Variable in Java

Swapping numbers will be helpful when creating large Java programs. Swapping is frequently used in sorting algorithms such as bubble sort, quick sort, etc.Swapping is the act of exchanging values of variables. In this article, I am going to teach you how to swap two numbers without using a third (temp) variable.Swap using multiplication and divisionpublic class Swap {    public static void main(

Java August 22, 2019
Java ArrayList for Absolute Beginners with Examples

ArrayLists will be helpful when creating large Java programs. In this article, I am going to teach you what a Java ArrayList is, how to use it, and what operations you can apply to it.What is an ArrayList?In Java, ArrayList is simply used to store dynamically sized collections of items. ArrayList stores items of the same data type. Remember that everything in Java is an object and when creating an

Java August 01, 2019
The Best Java Books for Beginners

Java: Programming Basics for Absolute Beginners This book by Nathan Clark is read by new beginners in programming who have no experience, especially in coding. It shows how to do coding from one stage to another in sequence through basics. The explanation is provided step by step in each portion of the code and also helps you in decisions when choosing IDE, how to put together and run the pro

Books July 30, 2019
Comparison of Java with other Programming Languages

Java is both a language and a platform. It is one of the most popular and widely used programming languages.  Java is a platform because it provides an environment that helps to develop and run programs written in the Java programming language. Java programming language is fast, reliable, and secure. It employs the object-oriented programming paradigm and therefore, can be used to model real-

Java July 24, 2019
The Four Main Object Oriented Programming Concepts in Java With Examples

Hi buddy, today I will explain what OOP (Object-oriented programming) in Java is. Java is one of the most popular and widely used programming language and platform. In my article The Best Way to Learn Java Programming Language, I said that it could be tricky to learn Java because you will encounter complex concepts like objects, polymorphism, inheritance, etc. Now I will help you understand these

Java July 24, 2019
Types of Software Testing

Software testing is divided into functional and non-functional testing. Functional testing deals with functional aspects testing of software application whereby one has to examine all the functionalities for you to acquire the desired results. Functional tests should be executed manually, but sometimes one can use automatic tools like selenium, Watir, Junit, and Micro Focus UFT where they are requ

Misc July 20, 2019
Coding Interview Preparation Ultimate Guide

In this article, I will be explaining in details everything you need to prepare yourself for coding interviews. You have been invited for a coding interview, and you are feeling nervous? I have experienced that feeling, and you are not alone. Everyone has the same feeling when something big is going to happen. Especially if this is your first interview or one that is going to get you into your dre

Misc July 15, 2019
What Programming Languages Should you Learn First

There is a long list of about 256 programming languages. The languages are classified into groups according to the way or style of programming (paradigms). So with this long list, many beginners face challenges when choosing which language to learn first. Another question is what programming languages are used in big companies like Google, Facebook, and Amazon, etc. Their worry is learning a langu

Java July 10, 2019
The Best Way to Learn Java Programming Language

Java is simple to learn when you know other programming languages like C and C++. However, some people argue that Java Programming language is difficult to learn while others think it takes the same learning curve similar to other programming languages like Python, PHP, and Ruby on Rails, etc. Java is a prevalent programming language. It is very stable, versatile, reliable, and compatible and run

Java July 07, 2019
Creating Text Based Games using Html and JavaScript Part 2

In the previous article, we learnt about writing your first text-based html game. This will be another approach to creating a html text based game and this time we will style the html using the bootstrap plugin, CSS and JavaScript. If you are new to bootstrap kindly follow this link: https://getbootstrap.com/ to read on the documentation. For this article we will use VS Code to build beautiful loo

Misc March 16, 2016
Pages