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

📄 studentinfoapp.java

📁 基于RMI的学生成绩管理程序,实现了线程,事件模型.
💻 JAVA
字号:
/*
 * StudentinfoApp.java
 *
 * Created on 2005年11月23日, 下午1:42
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */



/**
 *
 * @author 和尚
 */
import java.net.*;
import java.rmi.*;
public class StudentinfoApp {
    public static void main(String args[]) {
           StudentinfoApp s = new StudentinfoApp();              
	   try {
                Tutor t = new Tutor();
		StudentinfoImpl studentinfoImpl;
		studentinfoImpl = new StudentinfoImpl();
		Naming.rebind("Studentinfo",studentinfoImpl);
 
                t.addScoreListener(studentinfoImpl);
	       }
	   catch(Exception ex) {
		ex.printStackTrace();
	   }
	}
    
}

⌨️ 快捷键说明

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