Skip to content

Java Vogue

Java Tutorials

  • All Tutorials
  • Java
  • Java8
  • Spring Boot
  • Microservices
  • Spring
  • Hibernate
  • Reactjs
  • Interview Question
  • Contact

Category: java examples

December 14, 2015 javavogue

How to Convert Enumeration to Arraylist – Java Example

We can convert enumeration to arraylist in java with  the help list() method of Collections. package javaproficeincy; import java.util.Collections; import

Continue reading
December 2, 2015 javavogue

How Find out duplicate number between 1 to N numbers – Java Program

We have numbers from 1 to n  and one number is duplicate. Now we will find out duplicate number in

Continue reading
December 1, 2015 javavogue

How 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 reading
November 30, 2015 javavogue

Method 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 reading
November 26, 2015 javavogue

How 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 reading
November 25, 2015 javavogue

Object 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
November 25, 2015 javavogue

Reverse a Number in Java

In this program we will reverse a number in java using for loop , while loop and recursion .Reversing a

Continue reading
May 25, 2015 javavogue

How to Remove List From Vector

import java.util.ArrayList; import java.util.List; import java.util.Vector; public class RemoveList { public static void main(String[] args) { Vector<String> vector = new

Continue reading

Recent Posts

  • Java Program to display student details Using Class and Object
  • TreeMap floorEntry() method in Java
  • Check If Int is Null In Java
  • Java Math min() method example
  • TreeMap ceilingKey() method in Java

Popular Posts

  • How to Read value From application.properties in spring boot
  • ‘Field required a bean of type that could not be found.’ error spring restful API
  • How to Reload Changes Without Restarting the Server – Spring Boot
  • No converter found for return value of type: org.springframework.http.converter.HttpMessageNotWritableException: No converter found
  • Spring Boot @ConfigurationProperties Property Validation
hi