Best Way to Learn Java for a Beginner

Here you will know what is the best way to learn java for a beginner. Programming is the new vogue and a vogue which can make you earn wonders and at the same time make you utilize the capabilities of your brain to the fullest. Learning new programming languages however can sometimes turn out to be challenging especially when the language is one which holds immense importance in various fields. Java is definitely one of those languages which most of

Read more

Java Tower of Hanoi Program

Tower of Hanoi is a mathematical puzzle game which contains three rods and N number of disks each incrementally different diameters. Initial condition: Initially all disks placed on one rod one above the other in stack manner (largest one is at the bottom and this follows…) Goal: Move all disks from this rod (say rod1) to rod2 by taking help of rod3. (Note: For understanding purpose rod numbers are given. You can give rod numbers in any manner) Rules to

Read more

Java Rock Paper Scissors Game

The rock paper scissors is a game where through hand formations; the decision of the winner is made. The game works on the following principles: The rock defeats scissors. The scissors defeat the paper. The paper defeats the rocks. If the formation is same from both the side, it is considered a draw. whoever wins 5 times is the winner. This game is made in java which encompasses a competition between the user and his computer system. Java Rock Paper

Read more

CodeGym: An Effective Way to Learn Java

So you think of learning Java. Good choice! This language is 20 years old but still progressive. The freshest (Java 11) release was in September 2018, and the next one will be in March 2019. Java is platform independent and you can do almost anything with it. Java is object oriented language but you can use different concepts, such as functional programming if you want to. It has very reach API. Java is beginner’s friendly and has the best community

Read more

Java Virtual Method

In this tutorial you will learn about java virtual method or function. Java is a programming language which has never failed to let the programmer marvel in wonder. One such concepts of the java programming language are that of java virtual methods. Unlike other programming languages, java provides for a default support to the java virtual function. This means, all the methods other than private and the static methods, are by default virtual methods. Now, the question arises: what actually

Read more

SAX vs DOM Parser – Difference between SAX and DOM Parser in Java

In this tutorial you will know about sax vs dom parser in java. Be it java or any language, parsers are the most crucial part of the compilation process on which the efficiency and usability of the language depends to a great extent. However, when it comes to java language, the parsers: SAX and DOM have forever been the two hit listed parsers, the selection among which most of the times can turn tricky. Here, in this article, an effort

Read more

Java Program to Find LCM of Two Numbers

Here you will get java program to find lcm of two numbers. Finding LCM is one of the most basic mathematical calculations that are taught to students at their primary classes. Let’s review the basic concepts again. LCM stands for Least common multiple which simply means that it is a number that is divisible by all the given numbers. This number i.e., LCM of the given numbers is always greater than or equal to the largest of given numbers. This

Read more

Hill Cipher in Java [Encryption and Decryption]

Here you will learn about hill cipher in java with program and algorithm. To start with the program directly is not a good idea here. Until you don’t have a brief understanding of Hill cipher algorithm, their programs will merely a code to copy paste. As per Wikipedia, Hill cipher is a polygraphic substitution cipher based on linear algebra, invented by Lester S. Hill in 1929. Basically Hill cipher is a cryptography algorithm to encrypt and decrypt data to ensure data security. Also Read: Caesar Cipher in

Read more
1 2 3 17