⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hello.java

📁 这是一个关于J2EE的开源包common里的许多组件的示例应用程序,可以借鉴.
💻 JAVA
字号:
/**
 * Title : Base Dict Class
 * Description : here Description is the function of class, here maybe multirows    
 * @author        <a href="mailto:sunpeng@china.freeborders">kevin</a> 
 * @Version       1.0 
 */

package log4j;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

/**
 * Class description goes here.
 * @version 1.0  2005-10-12 
 * @author kevin
 */
public class Hello
{
	static Logger logger = Logger.getLogger(Hello.class);	
	public static void main(String[] args) {	
		int i,j;
		//	  BasicConfigurator.configure();	
		//    PropertyConfigurator.configure(args[0]); 
		logger.info("Entering application."); 
		for(i=1;i<10;i++){	
			logger.debug(""+i);      
			for (j=1;j<=i;j++){     
				logger.warn(""+j);      
				System.out.print(i*j);      
				System.out.print("\t");      
				}      
			System.out.println("");   
			}      
		logger.info("Exiting application.");	  
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -