### Categories

### Archives

### Blog Stats

- 437,281 hits

### You can like us at

### Meta

# Category Archives: Java

## Java program to check whether string is palindrome or not

In earlier post we have discussed how to check whether a number is palindrome or not.In today’s post we shall check whether a string is palindrome or not.For this we shall use built in functions to reverse a string and … Continue reading

Posted in Java
Tagged fibonacci series in java, java program to check string palindrome, java program to find palindrome string, java program to reverse a string, palindrome program in java using for loop, palindrome program in java using recursion, palindrome program in java using reverse method, palindrome program in java using string, palindrome program in java using stringbuffer, palindrome program in java using while loop, prime number program in java, simple palindrome program in java, simple string palindrome program in java, string palindrome program in java, string reverse in java, write code to check a string is palindrome or not in java
Leave a comment

## JAVA program to maintain a BOOK SHOP

Does any one get a doubt how a librarian maintains the list of books available in the library?Today we shall get in detail about this and compile a program to maintain a book shop.First of all we need to know … Continue reading

## Java program for composite numbers

It is a simple program…Here we need to find composite number which is defined as a number which has a positive number has divisor other than 1 and itself…In a simple way we can define a composite number has a … Continue reading

Posted in Java
Tagged composite number algorithm, composite number definition, composite number list, composite number logic, composite number program, composite number program in java, composite number program in java print 1 to 100, composite number program in java using for loop, composite number program in java using recursion, composite number using for loop in java, composite number using function in java, composite number using java, composite number using java program, composite number using recursion in java, composite number using while loop, Java program for composite number between 1 and 100, largest composite number, program for composite number in java between 1 to 100, what is composite number
2 Comments

## Multiplication of two matrix in java

In our last post we have learnt about the addition of two matrices.Today we shall learn about the multiplication of two matrices.Multiplication of two matrices is little complicated as compared to the addition of the two matrices.One of the basic … Continue reading

Posted in Java
Tagged 3x3 matrix multiplication, java matrix multiplication code, java matrix multiplication library, java program for matrix multiplication, java program for multiplication of two matrices, logic for matrix multiplication in java, matrix calculator, matrix inverse, matrix multiplication algorithm, matrix multiplication c++, matrix multiplication calculator, matrix multiplication example, matrix multiplication in c, matrix multiplication in java source code, matrix multiplication in java using arrays, matrix multiplication in java using bufferedreader, matrix multiplication in java using threads, matrix multiplication in java with example, matrix multiplication java applet, matrix multiplication java code, matrix multiplication program java, matrix multiplication square matrices, matrix transpose, multiplication of arrays in java, multiplication of two matrix in java, non square matrix multiplication, program for multiplication of two matrix in java, simple matrix multiplication in java, square matrix multiplication algorithm
1 Comment

## Addition of two matrix in JAVA

In this post we focuses on adding two matrices.Before adding two matrices we need two matrices of same order.i.e is number of rows,columns in matrix 1 should be equaled to number of rows,columns in matrix 2.The procedure for adding two … Continue reading

Posted in Java
Tagged addition of two array in java, addition of two matrices in java, addition of two matrix in java, java adding two arrays, java matrix addition, java matrix addition tutorial, java matrix multiplication code, java program for addition of two matrices, matrix addition in c, matrix addition in java, matrix addition in java example, matrix addition in java using arrays, matrix addition in javascript, matrix addition using java, matrix multiplication in java, matrix multiplication java, sum of two dimensional array java, sum of two matrix in java, write a java program for matrix addition, write a java program to add 2 matrix, write a program to add two matrices in java
1 Comment

## Java program to find repeated digits in a number

In our earlier post we learn about redundant digits in an array.Today we shall how to find the redundant digits in any given number.This program is bit complicated since we use lot of if,for,while conditions. The process of finding the … Continue reading

Posted in Java
Tagged duplicate digits in a number, java program to find duplicate digits in a number, java program to find redundant digits in a number, language java, program to find duplicate digits in a number, program to find redundant digits in a number, redundant digits in a number, redundant elements, to find duplicate digits in a number, to find redundant digits in a number
Leave a comment

## Java program to check Armstrong number

A number is called as ARMSTRONG number if,sum of cube of every digit present in the number is equal to the number itself then that number is called as armstrong number.For example the 153 is a armstrong number because 1^3+5^3+3^3=153. … Continue reading

Posted in Java
Tagged armstrong number program in java, armstrong number program in java using for loop, armstrong number program in java with explanation, java program for fibonacci series, java program for prime number, java program to find armstrong number, java program to find palindrome number, palindrome program in java, perfect number program in java, program to reverse a string in java, reverse number program in java, simple java program for armstrong number
Leave a comment

## Java program to find duplicate elements in an Array

Today we shall learn how to detect the repeated digits in a given array.The main logic behind this is we need to check every number with other numbers.That is first we need to find the length of the given array … Continue reading

## JAVA program to print Multiplication Table

Today we shall program another simple and basic problem.In our childhood many of us find difficulty in learning the Multiplication tables.Now, we shall take revenge on them by writing the program.Let us consider that our program takes two values as … Continue reading

Posted in Java
Tagged create a java program that prints out the multiplication table for all, display that particular multiplication table in java, how do i program a multiplication table, how to write a multiplication table in java, how to write code for multiplication table, java, multiplication table program in c, multiplication tables program in java, program to print multiplication tables, write a java program for multiplication table, write a program table for 2 to 20 in java
Leave a comment

## JAVA program to print numbers in PYRAMID design

We all like the pyramids by the way they are built and the enormous size of those pyramids.Today we shall apply it our programming and print the numbers of our desired range.The output of today’s program may look like this. … Continue reading

## Constructor Overloading

In our earlier post we learnt about method overloading.Today we shall apply that technique to overload constructors.A method is said to be constructor if the name of the method and the name of the class where it presents is same.During … Continue reading

Posted in Java
Tagged calling a constructor from another constructor java, calling constructor from constructor java, constructor example in java, constructor in subclass, constructor overloading c++, constructor overloading in java, constructor overloading java ppt, constructor overriding in java with example, example of method overloading in java, java class overloading, java constructor overriding, java default constructor example, java method overloading, java multiple constructors, java program for constructor, java specification overloading, javascript constructor overloading, program for function overloading in java
Leave a comment

## Method Overloading

Method in any programming language are those which reduce the burden of main method.Many of us got a problem where we can’t define two methods with the same name.Today we shall find a solution and write a sample program to … Continue reading

Posted in Java
Tagged constructor in java, constructor overloading in java, constructor overloading in java definition, constructor overloading in java example program, constructor overloading in java ppt, constructor overloading in java with example, constructor overriding in java, inheritance in java, interface in java, method overloading and method overriding in java, method overloading in java, method overloading in java definition, method overriding in java, polymorphism in java, simple program of constructor overloading in java
1 Comment

## Prime number program in JAVA

Let us make another basic program in JAVA.i.e finding the prime numbers in the given list.We know that a number is called as prime number if it is divisible by one and itself only.Therefore to check whether a number is … Continue reading

Posted in Java
Tagged fibonacci series program in java, largest prime number, palindrome program in java, prime number algorithm, prime number definition, prime number list, prime number logic, prime number program, prime number program in java, prime number program in java print 1 to 100, prime number program in java using for loop, prime number program in java using recursion, prime number using for loop in java, prime number using function in java, prime number using java, prime number using java program, prime number using recursion in java, prime number using while loop, program for prime number in java between 1 to 100, what is prime number
Leave a comment

## Palindrome in Java

By definition a number is said to be palindrome,if the reverse of the number is equal to the same original number.i.e we need to find the reverse of the given number and we should check it with original number.This is … Continue reading

Posted in Java
Tagged palindrome program in java using for loop, palindrome program in java using recursion, palindrome program in java using reverse method, palindrome program in java using string, palindrome program in java using stringbuffer, palindrome program in java using while loop, simple palindrome program in java, string palindrome program in java
1 Comment

## Sum of digits in JAVA

Here is a traditional problem…..Finding the sum of digits of given number.It is not a difficult one, just we need to find the logic in it.Logic is we need to get the digits of the given number using modulus operator.Now, … Continue reading

## Fibonacci series in JAVA

By definition Fibonacci series in defined as the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two.i.e the nth number is obtained by adding the n-1 and … Continue reading

Posted in Java
Tagged definition of fibonacci, fibonacci, fibonacci series, fibonacci using java, java
1 Comment

## Data types

In every programming language storing of the data is crucial and data types play a vital role in storing the data.Java is no exception for this.Generally data types are divided into two types. There are numeric and character data type. … Continue reading

Posted in Java
Tagged data types, default data types in java, java, primitive data types in java
Leave a comment

## Hello world using java

Today we shall start our programming in java with a very basic program which all of us know is Hello world.The best advantage of Java programming is there is no need to include any header files.But every Java program should … Continue reading

Posted in Java
Tagged basic program injava, hello world, java, simple program in java
Leave a comment

## Introduction To Java

Java is an object oriented programming language which is used predominantly in present times.The main advantage of java is it is platform independent.This is because in Java the source code is first converted into byte code that can run on … Continue reading

Posted in Java
Tagged characters of java, features of java, introduction to java, java
Leave a comment