发代码试试看

楼主
我是社区第128位番薯,欢迎点我头像关注我哦~
  1. /*
  2. * @(#)Blah.java        1.82 99/03/18
  3. *
  4. * Copyright (c) 1994-1999 Sun Microsystems, Inc.
  5. * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6. * All rights reserved.
  7. *
  8. * This software is the confidential and proprietary information of Sun
  9. * Microsystems, Inc. ("Confidential Information").  You shall not
  10. * disclose such Confidential Information and shall use it only in
  11. * accordance with the terms of the license agreement you entered into
  12. * with Sun.
  13. */


  14. package java.blah;

  15. import java.blah.blahdy.BlahBlah;

  16. /**
  17. * Class description goes here.
  18. *
  19. * @version         1.82 18 Mar 1999
  20. * @author         Firstname Lastname
  21. */
  22. public class Blah extends SomeClass {
  23.     /* A class implementation comment can go here. */

  24.     /** classVar1 documentation comment */
  25.     public static int classVar1;

  26.     /**
  27.      * classVar2 documentation comment that happens to be
  28.      * more than one line long
  29.      */
  30.     private static Object classVar2;

  31.     /** instanceVar1 documentation comment */
  32.     public Object instanceVar1;

  33.     /** instanceVar2 documentation comment */
  34.     protected int instanceVar2;

  35.     /** instanceVar3 documentation comment */
  36.     private Object[] instanceVar3;

  37.     /**
  38.      * ...constructor Blah documentation comment...
  39.      */
  40.     public Blah() {
  41.         // ...implementation goes here...
  42.     }

  43.     /**
  44.      * ...method doSomething documentation comment...
  45.      */
  46.     public void doSomething() {
  47.         // ...implementation goes here...
  48.     }

  49.     /**
  50.      * ...method doSomethingElse documentation comment...
  51.      * @param someParam description
  52.      */
  53.     public void doSomethingElse(Object someParam) {
  54.         // ...implementation goes here...
  55.     }
  56. }
  57.           
复制代码


分享扩散:

沙发
发表于 2012-1-12 11:04:05
{:soso__6058257740535623969_1:}
板凳
发表于 2012-1-12 11:09:43
看来没有问题{:soso_e133:}
地板
发表于 2012-1-12 11:20:53
{:soso_e134:}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部 返回列表