BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Java Program to Add two Binary Numbers

Last Updated: September 7, 2018 by Chaitanya Singh | Filed Under: Java Examples

In this tutorial we will write a java program to add two binary numbers. Binary number system has only two symbols 0 & 1 so… [Read More]

Java Program to Add Two Complex Numbers

Last Updated: September 7, 2018 by Chaitanya Singh | Filed Under: Java Examples

Complex numbers have two parts – real part and imaginary part. In this tutorial, we will write a Java program to add two complex numbers…. [Read More]

Java Program to Check Armstrong Number

Last Updated: September 15, 2017 by Chaitanya Singh | Filed Under: Java Examples

Here we will write a java program that checks whether the given number is Armstrong number or not. We will see the two variation of… [Read More]

Java Program to reverse the Array

Last Updated: September 14, 2017 by Chaitanya Singh | Filed Under: Java Examples

This program reverse the array. For example if user enters the array elements as 1, 2, 3, 4, 5 then the program would reverse the… [Read More]

Java Program to reverse words in a String

Last Updated: September 15, 2017 by Chaitanya Singh | Filed Under: Java Examples

This program reverses every word of a string and display the reversed string as an output. For example, if we input a string as “Reverse… [Read More]

Java Program to Display Fibonacci Series using loops

Last Updated: September 15, 2017 by Chaitanya Singh | Filed Under: Java Examples

The Fibonacci sequence is a series of numbers where a number is the sum of previous two numbers. Starting with 0 and 1, the sequence… [Read More]

Java Program to Find Factorial using For and While loop

Last Updated: September 10, 2017 by Chaitanya Singh | Filed Under: Java Examples

We will write three java programs to find factorial of a number. 1) using for loop 2) using while loop 3) finding factorial of a… [Read More]

Java Program to Make a Calculator using Switch Case

Last Updated: September 10, 2017 by Chaitanya Singh | Filed Under: Java Examples

In this Program we are making a simple calculator that performs addition, subtraction, multiplication and division based on the user input. The program takes the… [Read More]

Java Program to calculate and display Student Grades

Last Updated: September 10, 2017 by Chaitanya Singh | Filed Under: Java Examples

This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this… [Read More]

Java Program to check Vowel or Consonant using Switch Case

Last Updated: September 10, 2017 by Chaitanya Singh | Filed Under: Java Examples

The alphabets A, E, I, O and U (smallcase and uppercase) are known as Vowels and rest of the alphabets are known as consonants. Here… [Read More]

  • « Previous Page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 13
  • Next Page »

Java Examples

  • Check Odd-even
  • Linear Search
  • Binary Search
  • Floyd's Triangle
  • Reverse number
  • Random Number
  • first n prime numbers
  • Disp prime Numbers
  • Check Prime number
  • Palindrome String
  • Find factorial
  • Sum of elements of Array
  • Area of rectangle
  • Area of Square
  • Area of Triangle
  • Circle

Tutorials

  • Java Tutorial
  • OOPs Concepts
  • Java String
  • Exception handling
  • Java Multithreading
  • Java I/O
  • Java Serialization
  • Java Regex
  • Java AWT
  • Java Swing
  • Java Enum
  • Java Annotations

Copyright © 2012 – 2026 BeginnersBook . Privacy Policy . Sitemap