• Kỹ thuật Lập trình - Giới thiệu học phầnKỹ thuật Lập trình - Giới thiệu học phần

    Chương 4. Kiểu con trỏ (3 tiết) Khái niệm Khai báo và sử dụng biến con trỏ Sử dụng con trỏ để cấp phát và thu hồi bộ nhớ động Một vài bài toán sử dụng con trỏ Bài tập

    pptx14 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 616 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 30: Strings, characters and regular expressionsKĩ thuật lập trình - Chương 30: Strings, characters and regular expressions

    Regular expression Sequence of characters and symbols Useful for validating input and ensuring data format E.g., ZIP code Facilitate the construction of a compiler Regular-expression operations in String Method matches Matches the contents of a String to regular expression Returns a boolean indicating whether the match succeeded

    ppt83 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 704 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 29: Formatted outputKĩ thuật lập trình - Chương 29: Formatted output

    Precision Meaning varies depending on data type Floating point Number of digits to appear after decimal (e or E and f) Maximum number of significant digits (g or G) Strings Maximum number of characters to be written from string Format Use a dot (.) then precision number after % e.g., %.3f

    ppt49 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 520 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 28: Jax - Ws web services, web 2.0 and mash - upsKĩ thuật lập trình - Chương 28: Jax - Ws web services, web 2.0 and mash - ups

    To add a Java DB database server in Netbeans Select Tools > Options to display the Netbeans Options dialog Click the Advanced Options button to display the Advanced Options dialog Under IDE Configuration, expand the Server and External Tool Settings node and select Java DB Database If the Java DB properties are not already configured, set the J...

    ppt114 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 530 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 27: Web applications: Part 2Kĩ thuật lập trình - Chương 27: Web applications: Part 2

    When using database columns to provide suggestions in an AutoComplete Text Field, sorting the columns eliminates the need to check every row in the database for potential matches. This significantly improves performance when dealing with a large database.

    ppt84 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 627 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 26: Web applications: Part 1Kĩ thuật lập trình - Chương 26: Web applications: Part 1

    Java Studio Creator 2 can automatically import any missing packages your Java file needs. For example, after adding the Properties object to Options.java, you can right click in the Java editor window and select Fix Imports to automatically import java.util.Properties.

    ppt145 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 608 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 25: Accessing databases with jdbcKĩ thuật lập trình - Chương 25: Accessing databases with jdbc

    Most major database vendors provide their own JDBC database drivers, and many third-party vendors provide JDBC drivers as well. For more information on JDBC drivers, visit the Sun Microsystems JDBC Web site, servlet.java.sun.com/products/ jdbc/drivers.

    ppt144 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 662 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 24: NetworkingKĩ thuật lập trình - Chương 24: Networking

    By default, applets cannot perform file processing Applets often limited in machine access Applets can communicate only with the machine from which it was originally downloaded Java Security API Digitally signed applets Applets given more privileges if from trusted source

    ppt96 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 669 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 23: MultithreadingKĩ thuật lập trình - Chương 23: Multithreading

    Even when using a bounded buffer, it is possible that a producer thread could fill the buffer, which would force the producer to wait until a consumer consumed a value to free an element in the buffer. Similarly, if the buffer is empty at any given time, a consumer thread must wait until the producer produces another value. The key to using a bound...

    ppt124 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 709 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 22: Gui components: Part 2Kĩ thuật lập trình - Chương 22: Gui components: Part 2

    Java applications’ appearances A program that uses Java’s Abstract Window Toolkit GUI components takes on the look-and-feel of the platform Allows users of the application on each platform to use GUI components with which they are already familiar Also introduces interesting portability issues Swing’s lightweight GUI components provide uniform ...

    ppt101 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 597 | Lượt tải: 0