Learn Java | Sample Programs | Interview Questions
Beginners Programs :

Java Program Addition Of Two Numbers – 4 Ways | Programs

Java program to print or calculate addition of two numbers with sample outputs and example program. Addition of two numbers program is quite simple one, we do also wrote the program in five different ways using standard values, command line arguments, classes and objects, without using addition+ operator, method, BufferedReader with sample outputs and code. How to add numbers ? Well:P ...

Read More »

Java Program To Convert Octal To Hexadecimal | Vice Versa

Java program to convert octal to hexadecimal using standard values, recursion, using array and vice versa ( convert from hexadecimal to octal ( vice versa ) with sample outputs and example program. The following program has been written in three formats and also vice versa. In order to get into programming part Just a couple of lines to let you know what ...

Read More »

Java Program To Check Vowel Or Consonant | 5 Ways

Java program to identify whether the given character is vowel or not. With the help of the below program you will get to know how to write and print whether given number is vowel. We have written the program in three different ways, using if else statement, using switch case, user define method – learn more about switch case in ...

Read More »

Java Variables Tutorial With Examples | Java Tutoring

Java variables are nothing but a similar way we use a variable in mathematics also. Assume if we want to find an area of a rectangle, the formula we use is a=l*b. In this expression, ‘a’, ‘l’ and ‘b’ are Java variables. Usage is same both in mathematics and programming. Variables In Java – Different Types How To Create a Variable ? ...

Read More »

Java Break – Tutorial For Beginners | With Examples

Java Break - Complete Guide

Java break statement complete tutorial for beginners with examples. This article was written by path thomas, high command on java programming language with more than 10+ years of experience in Java programming. You can check out the more tutorials and beginner programs here. Java Break statement complete guide with examples. Check table of contents here. If you want any custom ...

Read More »

Java Hashmap Tutorial With Examples – Java Tutoring

Java hashmap a complete tutorial for beginners with examples, methods and functions, explanation of each class from java key value pair to put method. Check out the complete definition, examples part for each class method,  map interface java, and creation of java hasmap from java key value pair put. Check out the complete tutorial. Thanks to path thomas for a ...

Read More »

Curved Surface Area Of Cube : Java Program | 3 Simple Ways

How to write a java program to calculate the curved surface area of a cube? Here we cover the code in three different ways. Using standard values, command line arguments, method calling. Do check out, at the end of the codes; we also added online execution tool such that you can execute each program individually. For more programs do check out here: ...

Read More »

Java Do While Loop With Examples – Java Tutoring

do while loop in java

Do while in Java Everything you need to know about Java do while with a flowchart and example program with output and complete methods and basics. – Learn more Java Tutorials and Beginners Programs. So Basically what are loops In Java? Def : ‘Executing a set of statements’ process is known as looping. We have three types of looping constructs in Java. ...

Read More »