Hibernate4 One-to-One Relationship Example Using AnnotationsIn this article we are going to create a project to implement step by step one-to-one association example using Annotations with Maven project.OneToOne Relationship:A one-to-one relationship occurs when one entity is related …Read More
Externalization in JavaIn my previous post ( Serialization), we saw about Serialization. While using Serialization we can get some limitations.Limitations of Serialization: File size is very high because it contains meta information of the file.Cus…Read More
Java program to check if number is Armstrong or not./** * @file : ArmstrongExample.java * @description : *//** 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 armstro…Read More
Find duplicate elements in ArrayListThere are four ways is there to find duplicate element in arraylist.Using ArrayList contains method Using HashSetUsing HashMapWithout using abovepackage com.varasofttech;import java.util.*;/** * @author Ranga Redd…Read More
0 comments:
Post a Comment