Hello Friends, We are the leading IT training institutions in Kolhapur. This is blog is for the students, followers / well wishers for SEED infotech, and ofcourse for those who are hungry for new technology upgradations..
Monday, March 26, 2012
Saturday, March 3, 2012
Friday, March 2, 2012
Thursday, March 1, 2012
Pushing one map into another in Java...
import java.util.*;
Map m1 = ...;
Map m2 = ...;
m2.putAll(m1); // adds all elements of m1 to m2
Working with Dates in Java.. Formating the dates....
import java.io.*;
import java.util.*;
import java.text.*;
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd H:mm");
Date now = new Date();
System.out.println(formatter.format(now)); // 2001.3.19 13:21
formatter.applyPattern("dd MMM yyyy");
System.out.println(formatter.format(now)); // 19 Mar 2001
import java.util.*;
import java.text.*;
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd H:mm");
Date now = new Date();
System.out.println(formatter.format(now)); // 2001.3.19 13:21
formatter.applyPattern("dd MMM yyyy");
System.out.println(formatter.format(now)); // 19 Mar 2001
Subscribe to:
Posts (Atom)