Java-J2SE Example

Java-J2SE Example

Share

13/09/2015

LinkedHashSet Class Example

import java.util.*;
class LinkedHashSetDemo
{ public static void main(String args[])
{ // Create a hash set.
LinkedHashSet hs = new LinkedHashSet();
// Add elements to the hash set.
hs.add("B");
hs.add("A");
hs.add("D");
hs.add("E");
hs.add("C");
hs.add("F");
System.out.println(hs);
}
}

See more java Example on http://avanish1707.blogspot.in/

Java (J2SE) Example

10/05/2015

Happy mother's day to all

Want your school to be the top-listed School/college in Delhi?
Click here to claim your Sponsored Listing.

Category

Address


Delhi
110092