In our application sometime there is need of byte array. We can use byte array for encryption purpose . We
Continue readingAuthor: javavogue
How to check the given number is binary number or not -Java Program
In mathematics and digital electronics, a binary number is a number expressed in the binary numeral system or base-2 numeral
Continue readingHow to convert binary to decimal number – Java Program
In this example we will convert binary to decimal using java. We will use this logic 11 ==>> 1*2^1+1*2^0
Continue readingMethod Overriding Example – Java Program
package com.javaproficiency; class Y { void display(){ System.out.println(” Y is called”); } } public class X extends Y{ void display(){
Continue readingHow to Find Common Element In Two arrays – java program
package com.javaproficiency; public class CommonElementOfTwoArray { public static void main(String[] args) { int []arr = {10,15,20,25,40}; int []brr ={5,18,20,25,30,10}; for(
Continue readingTop 100+ Java coding interview questions
Cracking the coding interview is easy if you prepared it with right path.To become a developer you have to face
Continue readingCount occurrences of Character in String in Java
In this program we will count occurrences of character in string . We will give input a character and string
Continue readingJava Program to Print 1 To 10 Without Using Loop
In this article we will write a program to print 1 to 10 without loop in java. We can print
Continue readingHow to Sort the String using string Method In java
Java have a lot of method for string operations. We can sort a string by convert in to array of
Continue readingObject Cloning in java example?
package com.javavogue; public class Emp implements Cloneable { //Object Cloning in java example? int id; String name; public Emp(int id,
Continue reading