Đang chuẩn bị liên kết để tải về tài liệu:
Java C2. Programming Basics

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Explanation to improve readability of program comments one line /* . */ comments multiple lines javadoc comments Comments that in form of /** */ are used by the javadoc program to produce HTML documentation for the program Example: This is an example of special java doc comments used for \n generating an html documentation. It uses tags like: @author Florence Balagtas @version 1.2 | Chapter 2. Programming Basics ITSS Java Programming CAO Tuan-Dung, HUT Comments Explanation to improve readability of program // comments -- one line int nquest; // number of questions. /* . */ comments -- multiple lines javadoc comments Comments that in form of /** */ are used by the javadoc program to produce HTML documentation for the program Example: /** This is an example of special java doc comments used for \n generating an html documentation. It uses tags like: @author Florence Balagtas @version 1.2 */ HTTP request: HTTP method : Requesting method for Web servers such as GET method and POST method Request URI : URL information on Web server ‘form’ data : Information input by browser HTTP response: • Response message Status information which is the processing result of HTTP method • Contents type Contents type information on data to be transmitted • Request file Main information such as HTML files to be transmitted to HTTP request Javadoc Tool that pulls out the | Chapter 2. Programming Basics ITSS Java Programming CAO Tuan-Dung, HUT Comments Explanation to improve readability of program // comments -- one line int nquest; // number of questions. /* . */ comments -- multiple lines javadoc comments Comments that in form of /** */ are used by the javadoc program to produce HTML documentation for the program Example: /** This is an example of special java doc comments used for \n generating an html documentation. It uses tags like: @author Florence Balagtas @version 1.2 */ HTTP request: HTTP method : Requesting method for Web servers such as GET method and POST method Request URI : URL information on Web server ‘form’ data : Information input by browser HTTP response: • Response message Status information which is the processing result of HTTP method • Contents type Contents type information on data to be transmitted • Request file Main information such as HTML files to be transmitted to HTTP request Javadoc Tool that pulls out the class and the method etc., defined in the source file, and creates the reference manual of the program Main tag of ‘javadoc’ @see Reference destination name : Make the reference link of other classes and related packages from the class of the object . @exception Explanation of exception class name: Describe the explanation of the exception that the method of object has possibility to throw. @param Explanation of argument name @return The explanation of the return value of the method of the object is described. Hand on Lab: Javadoc Use your text editor or Eclipse to create a java program named: Circle.java The content of this file will be shown in next slides javadoc –private Circle.java javadoc -author -version Circle.java Circle.java import java.awt.*; import java.applet.*; /** * A simple circle class. * * @author Samuel A. Rebelsky * @version 1.1 of February 1999 */ public class Circle { /** The current color of the circle. */ protected Color color; /** The current diameter .

TÀI LIỆU 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.