`
lintghi
  • 浏览: 8925 次
  • 性别: Icon_minigender_1
  • 来自: 广州
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
  class VeryImportantException extends Exception { public String toString() { return "A very important exception"; } } class HoHumException extends Exception { public String toString() { return "A trivial exception"; } } public class LostMessage { void f() ...
  class Glyph { void draw() { print("Glyph.draw()"); } Glyph() { print("Glyph() before draw()"); draw(); print("Glyph() after draw()"); } } class RoundGlyph extends Glyph { private int radius = 1; RoundGlyph(int r) { radius = r; print(" ...
package ploymorphism; import static net.mindview.util.Print.*; public class PrivateOverride { private void f() { print("private f()"); } public static void main(String[] args) { PrivateOverride po = new Derived(); po.f(); } } class Derived extends PrivateOverride { p ...
  class Super { public int field = 0; public int getField() { return field; } } class Sub extends Super { public int field = 1; public int getField() { return field; } public int getSuperField() { return super.field; } } public class FieldAccess { public static voi ...
1. 体系结构   2. 消息传递模型 3. JMS API   JMS API可以为3个主要部分: 公共API, 点对点API和发布/点阅API. 在JMS1.1中, 公共API可被用于向一个队列或一个主题发送消息, 或从其中接收消息. 点对点API专门用于使用队列的消息传送, 而发布/点阅API则专门用于使用主题的消息传送.  公共API内部, 发送和接收JMS消息有关的JMS接口主要:  ConnectionFactory Destination Connnection Session Message MessageProducer MessageCo ...
  import static net.mindview.util.Print.*; class Insect { private int i = 9; protected int j; Insect() { print("i="+i + ", j="+j); j=39; } private static int x1 = printInit("static Insect.x1 initialized"); static int printInit(String s) { pri ...
windows xp下安装apache http时出现该错误.  到网上找了下解决是: 1. 在命令行下输入: netstat -aon | find "80" 到结果:   TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       552   TCP    10.0.43.50:7269        118.186.66.51:80       ESTABLISHED     900   2. 可以看出, 被pid为552的进程占用了 用户 tasklist|f ...
1. Copyfully 复制全路径类名 安装后再类上右键增加一项: Copy Full Qualified Class Name. 默认快捷键Ctrl+Alt+C,不过好像跟已有的快捷键冲突了. 自行在keys里面设置吧.       项目地址: http://www.jave.de/eclipse/copyfully/   2.OpenExplorer 打开文件目录 项目地址: http://blog.samsonis.me/2009/02/open-explorer-plugin-for-eclipse/ 下载地址: https://github ...
Global site tag (gtag.js) - Google Analytics