Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Static class vs Normal Class when to use


Copy link to this message
-
Static class vs Normal Class when to use
In some examples/articles sometimes they use:
public static class MyMapper 

and sometimes they use

public class MyMapper 
When/why should we use static vs normal class.

Thanks
Sai
+
Ted Yu 2013-03-28, 04:11
+
Sai Sai 2013-03-28, 05:01
+
Ted Dunning 2013-03-28, 07:54