- Bạn vui lòng tham khảo Thỏa Thuận Sử Dụng của Thư Viện Số
Tài liệu Thư viện số
Danh mục TaiLieu.VN
A buffer is a temporary storage area for data. Java uses buffered input and output to temporarily cache data read from or written to a stream. The RandomAccessFile class provides the capability to perform I/O to specific locations within a file. Character streams provide a way to handle character oriented input/output operations. Reader and Writer classes are abstract classes that support reading and writing of Unicode character streams....
26 p dtu 11/10/2012 137 2
Từ khóa: java.nio Package, RandomAccessFile, CharArrayWriter, CharArrayReader, lập trình java, lập trình máy tính, ngôn ngữ lập trình
The java.util package provides a miscellany of classes and interfaces such as Date, Calendar, BitSet besides providing the collection framework. The classes Date, Calendar, Random and BitSet form the utility classes of the java.util package. The class BitSet represents a dynamically sized set of bits. The Collection interface provides common methods for all the collection classes and mechanisms to insert new objects into the collection....
45 p dtu 11/10/2012 168 2
Từ khóa: java.io Package, Collection interface, lập trình máy tính, lập trình java, ngôn ngữ lập trình, kỹ thuật lập trình
The method notify() wakes up or notifies the first thread that called wait() on the same object. The method notifyAll() wakes up or notifies all the threads that called wait() on the same object. A deadlock occurs when two threads have a circular dependency on a pair of synchronized objects. Garbage collection in Java is a process whereby the memory allocated to objects, which are no longer in use, may be reclaimed or freed. The garbage...
40 p dtu 11/10/2012 175 2
Từ khóa: Introduction to Packages, lập trình java, java căn bản, lập trình máy tính, ngôn ngữ lập trình, kỹ thuật lập trình
Multithreading and Garbage Collection
Multithreading allows programmers to write efficient programs that make the maximum use of the CPU. Java provides built-in support for multithreading in the form of classes and interfaces. When Java programs are executed, there is already one thread that is running and it is the main thread. This main thread is important for two reasons: It is the thread from which child threads will be created. Program is terminated when the main thread...
32 p dtu 11/10/2012 235 2
Từ khóa: Multithreading and Garbage Collection, lập trình java, lập trình máy tính, ngôn ngữ lập trình, Java programs
Whenever an error is encountered while executing a program, an Exception occurs. An Exception occurs at run time in a code sequence. Every exception that is thrown must be caught, or the application terminates abruptly. Exception handling allows combining error processing in one place. Java uses the try and catch block to handle exceptions.
28 p dtu 11/10/2012 162 2
Từ khóa: Introduction to Threads, Exception handling, lập trình java, lập trình máy tính, ngôn ngữ lập trình, kỹ thuật lập trình
The BoxLayout is a full featured version of FlowLayout. The BorderLayout arranges components in the ‘North’, ‘South’, ‘East’, ‘West’, and ‘Center’ of a container. The GridLayout places components in rows and columns. All components are of the same size. The CardLayout places components on top of each other. It creates a stack of several components, usually panels. The GridBagLayout places components more precisely than...
27 p dtu 11/10/2012 178 2
Từ khóa: SpringLayout Manager, lập trình java, lập trình máy tính, lập trình cơ bản, ngôn ngữ lập trình, kỹ thuật lập trình
An Applet is a Java program that can be executed with the help of a Java enabled browser. Every user-defined applet must extend the java.applet.Applet class. A user defined applet inherits all the methods of Applet class. .. tags are used within a HTML file to embed a class file. The default layout for an applet is FlowLayout. Images can be drawn on an applet by means of the paint(), getImage() and drawImage() methods. Whenever the user...
36 p dtu 11/10/2012 177 2
Từ khóa: Layout Managers, FlowLayout, Applet class, lap76 trình java, lập trình máy tính, ngôn ngữ lập trình
The Abstract Windowing Toolkit (AWT) is a set of classes that allow us to create a graphical user interface and accepts user input through the keyboard and the mouse. A component is anything that can be placed on a user interface and be made visible or resized. Commonly used examples of components are textfields, labels, checkboxes, textareas . Frame and Panel are commonly used containers for standalone applications. A Panel is generally...
31 p dtu 11/10/2012 199 2
Từ khóa: Applets, Abstract Windowing Toolkit, Frame and Panel, lập trình java, lập trình máy tính, ngôn ngữ lập trình
Import statements are used to access the Java packages to be used in a program. A token is the smallest unit in a program. There are five categories of tokens: Identifiers Keywords Separators Literals Operators Class declaration only creates a template and not an actual object. Objects are instances of a class and have physical reality. Method is the actual implementation of an operation on an object.
39 p dtu 11/10/2012 174 2
Từ khóa: Abstract Window Toolkit, Class declaration, Import statements, lập trình java, lập trình máy tính, ngôn ngữ lập trình
A class defines a new data type. Every time an instance of a class is created, an object is created. The object contains its own copy of each instance variable defined by the class. A dot operator ( . ) is used to access these variables. The dot operator links the name of the object with the name of an instance variable.
20 p dtu 11/10/2012 186 2
Từ khóa: Introduction To Classes, lập trình máy tính, lập trình java, ngôn ngữ lập trình, kỹ thuật lập trình, lập trình căn bản
Java (đọc như "Gia-va") là một ngôn ngữ lập trình dạng lập trình hướng đối tượng (OOP). Khác với phần lớn ngôn ngữ lập trình thông thường, thay vì biên dịch mã nguồn thành mã máy hoặc thông dịch mã nguồn khi chạy, Java được thiết kế để biên dịch mã nguồn thành bytecode, bytecode sau đó sẽ được môi trường thực thi (runtime environment) chạy. Bằng...
13 p dtu 11/10/2012 151 2
Từ khóa: Lập trình Java, ngôn ngữ lập trình, lập trình máy tính, kỹ thuật lập trình, ngôn ngữ Java, lập trình căn bản
Java (đọc như "Gia-va") là một ngôn ngữ lập trình dạng lập trình hướng đối tượng (OOP). Khác với phần lớn ngôn ngữ lập trình thông thường, thay vì biên dịch mã nguồn thành mã máy hoặc thông dịch mã nguồn khi chạy, Java được thiết kế để biên dịch mã nguồn thành bytecode, bytecode sau đó sẽ được môi trường thực thi (runtime environment) chạy. Bằng...
26 p dtu 11/10/2012 187 2
Từ khóa: Lập trình Java, ngôn ngữ lập trình, lập trình máy tính, kỹ thuật lập trình, ngôn ngữ Java, lập trình căn bản