Home> Network programming tutorial
All ASP tutorial ASP tutorial ASP.NET tutorial PHP tutorial JSP tutorial C#/CSHARP tutorial XML tutorial Ajax tutorial Perl tutorial Shell tutorial Visual Basic tutorial Delphi tutorial Mobile development tutorial C/C++ tutorial Java tutorial J2EE/J2ME Software engineering
Network programming tutorial
  • Java assign elements to array

    Java assign elements to array

    Java allocates elements to an array. In the previous section, we mentioned that creating an array requires two steps: declaring the array and allocating elements to the array. In this section, we mainly learn how to allocate elements to the array. Declari
    2024-11-08
  • Java declaration array

    Java declaration array

    Java declares arrays. Through previous studies, we have learned about basic data types such as int, char, double, etc. In this section we will learn about arrays. I don’t know if you have ever thought about it, what should you do if your program requires
    2024-11-08
  • Java file lock

    Java file lock

    Java file locks often occur when several programs process the same file, such as updating or reading the file at the same time. Such issues should be dealt with, otherwise chaos may ensue. After JDK1.4, Java provides a file lock function that can help sol
    2024-11-08
  • Java input stream with progress bar

    Java input stream with progress bar

    Java input stream with progress bar If you want to see the reading progress of the file when reading a file, you can use the input stream class ProgressMonitorInputStream provided by the javax.swing package. Its construction method is: ProgressMonitor&amp
    2024-11-08
  • Java file dialog

    Java file dialog

    Java File Dialog The file dialog is an interface for selecting files. The JFileChooser class in the Javax.swing package can create a file dialog box. Use the constructor JFileChooser() of this class to create an initially invisible modal file dialog box.
    2024-11-08
  • Java uses Scanner to parse files

    Java uses Scanner to parse files

    Java uses Scanner to parse files. In the previous chapter, we learned how to use objects of the Scanner class to parse data in strings, so in this section we will learn how to use objects of the Scanner class to parse data in files. The application may ne
    2024-11-08
  • Java serialization and object cloning

    Java serialization and object cloning

    Java Serialization and Object Cloning We already know that if two objects of a class have the same reference, then they have the same entity and function, such as: A one = new A();A&am...
    2024-11-08
  • Java Object Stream

    Java Object Stream

    The Java object streams ObjectInputStream and ObjectOutputStream classes are subclasses of the InputStream and OutputStream classes respectively. ObjectInputStream and ObjectOutputS…
    2024-11-08
  • Java data flow

    Java data flow

    The objects created by the Java data streams DataInputStream and DataOutputStream classes are called data input streams and data output streams. These two streams are useful streams that allow programs to read Java raw data in a machine-independent style.
    2024-11-08
  • Java array stream

    Java array stream

    We need to know that in Java array streams, in addition to files, the source and destination of the stream can also be computer memory. 1. Byte array stream Byte array input stream ByteArrayInputStream and byte array output stream ByteArrayOutputStream ar
    2024-11-08
  • Java random stream

    Java random stream

    Java Random Stream We know from the previous study that if you are going to read a file, you need to create an input stream pointing to the file; if you are going to write a file, you need to create an output stream pointing to the file. So, can you creat
    2024-11-08
  • Java buffered stream

    Java buffered stream

    In the previous sections of Java buffered streams, we learned about file byte input and output streams and file character input and output streams. In this section, we learn a new concept - buffered streams. So what is a buffered stream? What role can buf
    2024-11-08
  • Java file character input and output streams

    Java file character input and output streams

    The read and write methods of Java file character input and output streams file byte input and output streams use byte arrays to read and write data, that is, to process data in bytes. Therefore, byte streams do not operate well with Unicode characters. F
    2024-11-08
  • Java collections

    Java collections

    Java Collections Java collection classes are the most commonly used and frequently used classes in work. Compared with arrays (Array), collection classes have variable lengths and are more convenient for development. Java collections are like containers t
    2024-11-08
  • Java Shell Sort

    Java Shell Sort

    Java Shell Sort Shell Sort is a type of insertion sort and a more efficient and improved version of direct insertion sort. Shell Sort makes full use of two characteristics of insertion sort: 1) When the data scale I was very efficient when I was little. 2
    2024-11-08