• Introduction to Java Programming - Chapter 5: MethodsIntroduction to Java Programming - Chapter 5: Methods

    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 ...

    pdf37 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1326 | Lượt tải: 1

  • Giáo trình Internet - Phần 3: Thư điện tử - Internet Mail - Lê Anh NhậtGiáo trình Internet - Phần 3: Thư điện tử - Internet Mail - Lê Anh Nhật

    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í...

    pdf16 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1068 | Lượt tải: 1

  • Introduction to Java Programming - Chapter 4: LoopsIntroduction to Java Programming - Chapter 4: Loops

    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...

    pdf17 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1294 | Lượt tải: 1

  • Giáo trình Internet - Phần 2: Công nghệ Internet - Lê Anh NhậtGiáo trình Internet - Phần 2: Công nghệ Internet - Lê Anh Nhật

    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...

    pdf26 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1167 | Lượt tải: 1

  • Introduction to Java Programming - Chapter 3: Control StatementsIntroduction to Java Programming - Chapter 3: Control Statements

    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

    pdf20 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1175 | Lượt tải: 1

  • Giáo trình Internet - Phần 1: Internet - Lê Anh NhậtGiáo trình Internet - Phần 1: Internet - Lê Anh Nhật

    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

    pdf15 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1453 | Lượt tải: 1

  • Introduction to Java Programming - Chapter 2: Primitive Data Types and OperationsIntroduction to Java Programming - Chapter 2: Primitive Data Types and Operations

    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

    pdf55 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1211 | Lượt tải: 1

  • Introduction to Java Programming - Chapter 1: Introduction to Computers, Programs, and JavaIntroduction to Java Programming - Chapter 1: Introduction to Computers, Programs, and Java

    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...

    pdf39 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1308 | Lượt tải: 1

  • Giáo trình Thiết kế & Cài đặt mạng - Chương 6 đến chương 9 - Ngô Bá HùngGiáo trình Thiết kế & Cài đặt mạng - Chương 6 đến chương 9 - Ngô Bá Hùng

    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...

    pdf42 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1173 | Lượt tải: 1

  • Lập trình Java - Chương 6: Lập trình JDBC (Java DataBase Connectivity) - Đại học công nghệ thông tinLập trình Java - Chương 6: Lập trình JDBC (Java DataBase Connectivity) - Đại học công nghệ thông tin

    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...

    pdf30 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1254 | Lượt tải: 1