Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Javac programming Blog  > 

2011-08-25 10:11
import java.util.Deque; import java.util.Iterator; import java.util.LinkedList; public class DequeExample { public static void main(String[] args) { Deque deque = new LinkedLis… Read More
2011-08-10 15:44
import java.util.Arrays; /** * Algorithm * * 1] Compare each pair of adjacent elements from beginning * of an array and, if they are in reversed order, swap them. * * 2] If at least o… Read More
2011-08-01 14:02
import*; import; import java.awt.*; public class TrivialJMFPlayer extends Frame { public static void main (String[] args) { try { Frame f = new TrivialJMFPl… Read More
2011-07-20 09:31
HashMap is a non-synchronized collection class. If we need to perform thread-safe operations on it then we must need to synchronize it explicitly. Iterator should be used in a synchronized b… Read More
2011-07-01 07:56
Since JDK 1.6, Java developers are able to access network card detail via NetworkInterface class. In this example, we show you how to get the localhost MAC address in Java. import… Read More
2011-06-15 07:40
public enum UserStatus { PENDING("P"), ACTIVE("A"), INACTIVE("I"), DELETED("D"); private String statusCode; private UserStatus(String s) { statusCode = s; } pu… Read More

Share the post



Subscribe to Javac

Get updates delivered right to your inbox!

Thank you for your subscription