Website chia sẻ tài liệu, ebook tham khảo cho các bạn học sinh, sinh viên
There are two ways to use classes from a package. • One way is to use the fully qualified name of the class. For example, the fully qualified name for JOptionPane is javax.swing.JOptionPane. For Format in the preceding example, it is com.prenhall.mypackage.Format. This is convenient if the class is used a few times in the program. • The other ...
37 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1326 | Lượt tải: 1
Xóa thư trong chương trình Mail Client Để xóa thư không cần xem nữa trong hầu hết các chương trình Mail client bạn có thể nhấp chuột trên lá thư đó và nhấn nút Delete. Thư vừa xóa sẽ đưa vào trong Deleted Items folder, muốn xóa hẳn phải thực hiện xóa một lần nữa trong folder này Thực hành Sử dụng email mail.tuyenquang.edu.vn. Đăng kí...
16 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1068 | Lượt tải: 1
Example: Displaying Prime Numbers Problem: Write a program that displays the first 50 prime numbers in five lines, each of which contains 10 numbers. An integer greater than 1 is prime if its only positive divisor is 1 or itself. For example, 2, 3, 5, and 7 are prime numbers, but 4, 6, 8, and 9 are not. Solution: The problem can be broken into...
17 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1294 | Lượt tải: 1
Hệ thống tên miền - DNS DNS cũng được chia làm nhiều phần, mỗi phần cũng phân cách bằng dấu chấm. Một cách tổng quát Domain name có dạng: tên-host.tên-mức-hai.tên mức một (hostname.second-level.first-level) Tên-mức-một: chỉ ra kiểu tổ chức hoặc quốc gia mà host nằm trong đó. Tên-mức-hai: chỉ ra tên tổ chức làm chủ và điều hành mạng m...
26 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1167 | Lượt tải: 1
Formatting Output Use the new JDK 1.5 printf statement. System.out.printf(format, items); Where format is a string that may consist of substrings and format specifiers. A format specifier specifies how an item should be displayed. An item may be a numeric value, character, boolean value, or a string. Each specifier begins with a percent sign
20 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1175 | Lượt tải: 1
Các dịch vị trên Internet Di động. Dịch vụ cung cấp domain name Webhosting. Dịch vụ thiết kế và xây dựng Website riêng trên miền Internet Dịch vụ cơ sở dữ liệu. Thanh toán điện tử. Truy nhập từ xa Telnet Dịch vụ truyền tệp - FTP. Dịch vụ tìm kiếm dữ liệu - WAIS
15 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1453 | Lượt tải: 1
Naming Conventions, cont. Class names: – Capitalize the first letter of each word in the name. For example, the class name ComputeArea. Constants: – Capitalize all letters in constants, and use underscores to connect words. For example, the constant PI and MAX_VALUE
55 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1211 | Lượt tải: 1
Two Ways to Invoke the Method There are several ways to use the showMessageDialog method. For the time being, all you need to know are two ways to invoke it. One is to use a statement as shown in the example: JOptionPane.showMessageDialog(null, x, y, JOptionPane.INFORMATION_MESSAGE)); where x is a string for the text to be displayed, and y i...
39 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1308 | Lượt tải: 1
Thiết kế mạng ở tầng 3 Sử dụng các thiết bị nối kết mạng ở tầng 3 như router, cho phép phân nhánh mạng thành các mođun tách rời nhau về mặt vật lý cũng như luận lý. Router cũng cho phép nối kết mạng với mạng diện rộng như mạng Internet chẳng hạn. Router cho phép hạn chế được các cuộc truyền quảng bá xuất phát từ một vùng đụng độ này lan truyền...
42 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1173 | Lượt tải: 1
Các loại JDBC Dirvers Drivers thuần java và hiện thực/dùng database protocol để giao tiếp trực tiếp với CSDL. Thường là những JDBC drivers nhanh nhất. Thường dùng socket kết nối trực tiếp với mỗi DBMS khác nhau Client -> JDBC Driver -> Native-protocol JDBC Driver -> database server. Ưu điểm Performance tốt nhất so với các kiểu khác N...
30 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1254 | Lượt tải: 1