Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by ���ܵ�Сʨ
Sat, 18 Apr 1998 00:00
Java�����е�ע��
Author: ���ܵ�Сʨ
Date: Sat, 18 Apr 1998 00:00
Date: Sat, 18 Apr 1998 00:00
43 lines
4260 bytes
4260 bytes
�����к����ע�Ϳ������ӳ���Ŀɶ���,���ڳ���Ա������
�������۵���Java���Ե�ע�ͷ�����
Java������������Ч��ע�ͷ���:
��ע������
/*ע������*/
/**ע������*/
Java���Եij���Ա����ͨ�������ַ����Գ������ע�͡��˽�C+
+���Եij���Ա���ѷ���,��������ע�ͷ�����,ǰ���ֺ�C++�����е�
ע�ͷ���һ��,���������Java���Զ��ص�ע�ͷ��������е�һ��ע
�ͷ����ɡο�ʼ��Enter����,����������������ʱ�����Ա����Сκ�
������ݡ��ڶ���ע�ͷ�������/*��ʼ��*/����,������������/*��*
/֮�����������,����ע�ͷ����͵�һ��ע�ͷ�����֮ͬ��������ע
�����ݿ���Ϊ���С�
����Ҫ�ص����۵��ǵ����ַ���,����ע�ͷ�����Java���еġ�
ע�Ϳ�ͷ/**�и��ӵ�* ���ڵ���javadoc����,���ֳ���������ȡ��
���ָ�ʽд�ɵ�����ע��,������һ���ⲿ�ĵ���javadoc����������
����Щע����ȡ��HTML�ĵ�,��������ע��(��ʱҲ��Ϊdocע��)����
�����ڴ���ʹ�þ����HTML markup��ʶ,����Ӧ�ð���HTML�ṹ��
ʶ,��<HR>��<H1>������,��һ������ı�ʶ����docע��,Ϊ�ĵ��ṩ
��һ�ָ��ӵĸ�ʽ��������Щ��ʶ����@��ʼ����ЩΨһ��javadoc��
ʶ�������docע���е���ǰͷ,���ʹ��һ�����ϵ�ͬ���ʶ,����
������ں������С�������һЩ�����docע�ͱ�ʶ:
��@author text��ָ�����ı�ǰ��ʾ"Author:"������,�ñ�ʶֻ
������һ���ඨ���ǰ�档
��@exception full-classname description�ñ�ʶΪ�ĵ��ṩ
һ��"Throws:"������, ���������ָ����������������һ��ʶֻ
�����ڷ�������֮ǰ��
��@param parameter-name description��һ��ʶ���ض��IJ���
���������ӵ����з�����"Parameter:"���С��������С��ñ�ʶֻ��
����һ����������֮ǰ��
��@return description�ñ�ʶ�ڰ��ض��������ĵ��м���һ
��"Return:"�Ρ���ֻ�����ڷ�������֮ǰ��
��@see classname���ࡢ������֮ǰʹ�����ֱ�ʶ���Խ�"S
ee Also:"������ӵ��ĵ��С����������������Ϊ�ض������ṩ��
һ�ֳ�������(Hyperlink)��
��@see full-classname����ͬ�ϡ�
��@see full-classname#method-name����ͬ�ϡ�
��@version text���ֱ�ʶ�ܷ���ؽ��������ı���"Version:
"���������ӵ��ĵ��С��ñ�ʶֻ�������ඨ��֮ǰ��
--
[m[1;32m�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: hsia.nju.edu.cn][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads