Home>Network programming tutorial> Java 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
Java tutorial
  • Introduction to JDK annotations in java

    Introduction to JDK annotations in java

    Introduction to JDK annotations in java: 1. @Override: used for methods, indicating that the method overrides the parent class method. 2. @Deprecated: Indicates that the method has expired and is not recommended for developers to use. 3. @FunctionalInterf
    2022-05-20
  • Two storage methods for java object headers

    Two storage methods for java object headers

    There are two types of storage of Java object headers: 1. The object header is mainly used to store two pieces of information, storing the data and type pointers of the object itself; 2. The data of the object itself when running mainly includes hash code
    2022-05-19
  • Points to note when using static in java

    Points to note when using static in java

    Notes on using static in Java: 1. Only properties and methods declared statically can be accessed, while properties and methods declared non-static cannot be accessed; 2. Parent class references can only adjust parent class and subclass overriding methods
    2022-05-19
  • What is the method of Java thread scheduling?

    What is the method of Java thread scheduling?

    The methods of Java thread scheduling are: 1. Collaborative thread scheduling. Multi-threaded systems adopt collaborative scheduling, and the execution time of the thread is controlled by the thread itself. 2. Preemptive thread scheduling. Using a preempt
    2022-05-19
  • How to implement JDBC authentication login in java

    How to implement JDBC authentication login in java

    Java's JDBC implements verified login: 1. Connect to the database; 2. Obtain the request object stmt; 3. Create a keyboard object and obtain the user name and password; 4. Write SQL statements; 5. Execute the query; 6. Determine whether the login is s
    2022-05-19
  • Matching of Lambda expressions in Java interfaces

    Matching of Lambda expressions in Java interfaces

    Matching of Lambda expressions in Java interfaces: 1. Each lambda can match a given type through a specific interface; 2. Any interface that contains only one abstract method can be used to make lambda expressions.
    2022-05-19
  • The role of java environment variables

    The role of java environment variables

    The functions of java environment variables: 1. If the JAVA_HOME variable is not configured, Tomcat cannot start normally. 2. PATH environment variable. The function is to specify the java command search path. 3. CLASPATH environment variable tells the Ja
    2022-05-19
  • What are the Java thread states?

    What are the Java thread states?

    Java thread status: 1. New, which is a thread that has not been started after creation. 2. Running, operating system thread status. 3. Waiting indefinitely will not be allocated processor execution time. 4. Wait within the time limit. 5. Blockage. 6. End,
    2022-05-17
  • Java operations for building JDBC applications

    Java operations for building JDBC applications

    The operations of building a JDBC application in Java: 1. Load the database driver; 2. Obtain the database connection; 3. Create the Statement object through the Connection object; 4. Statement executes the SQL statement; 5. Operate the result set; 6. Rec
    2022-05-17
  • Classification solutions for java exception handling
  • Use of Cglib proxy in java

    Use of Cglib proxy in java

    The use of Cglib agents in java: 1. Cglib agents can be called subclass agents, which build subclass objects in memory to extend the functions of the target object. 2. Cglib generates a proxy class through Enhancer and implements the intercept method by i
    2022-05-13
  • Four related issues where Java and .NET continue to battle
  • 2010 will be the year of Java modularity
  • McObject releases Java native interface for eXtremeDB
  • IT workplace: 30 question traps in Java programmer interviews