TAILIEUCHUNG - Sams Teach Yourself Java 6 in 21 Days 5th phần 10

Mã tên tập tin hoặc gói như là đầu vào và tạo ra tài liệu hướng dẫn chi tiết trong định dạng HTML. Đối với javadoc để tạo ra tài liệu hướng dẫn đầy đủ cho một chương trình, một loại đặc biệt của báo cáo nhận xét phải được sử dụng trong mã nguồn của chương trình. Chương trình hướng dẫn trong cuốn sách này sử dụng / / | Simpo PDF Merge and Split UnregisteredTVerSiOft- R ttp T The javadoc Documentation Tool The Java documentation creator javadoc takes a .java source code file or package name as input and generates detailed documentation in HTML format. For javadoc to create full documentation for a program a special type of comment statement must be used in the program s source code. Tutorial programs in this book use and in source code to create comments information for people who are trying to make sense of the program. Java also has a more structured type of comment that can be read by the javadoc tool. This comment is used to describe program elements such as classes variables objects and methods. It takes the following format A descriptive sentence or paragraph. @tag1 Description of this tag. @tag2 Description of this tag. A Java documentation comment should be placed immediately above the program element it is documenting and should succinctly explain what the program element is. For example if the comment precedes a class statement it will describe the purpose of the class. In addition to the descriptive text different items can be used to document the program element further. These items called tags are preceded by an @ sign and are followed by a space and a descriptive sentence or paragraph. Listing contains a thoroughly documented version of the AppInfo applet called AppInfo2. The following tags are used in this program @author The program s author. This tag can be used only when documenting a class and it will be ignored unless the -author option is used when javadoc is run. Aversion text The program s version number. This also is restricted to class documentation and it requires the -version option when you re running javadoc or the tag will be ignored. @return text The variable or object returned by the method being documented. @serial text A description of the data type and possible values for a variable or object that can be serialized saved to .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.