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
  • In-depth analysis of java automatic boxing and unboxing

    In-depth analysis of java automatic boxing and unboxing

    This is a new content introduced after jdk1.5. As I insist that publishing is the best memory, I decided to replace my memory with a blog: The Java language specification says: In many cases, packaging and unpacking are It is done by the compiler itself (
    2024-11-17
  • Basics of running Solr in Eclipse

    Basics of running Solr in Eclipse

    I am still a newbie in Solr, and writing these articles is just to record my experience in learning Solr in the recent period. What is Solr? When I was learning Solr recently, I kept seeing a sentence that Solr is an out-of-the-box search server based on
    2024-11-17
  • Analysis of the differences between Java's String, StringBuffer, and StringBuilder

    Analysis of the differences between Java's String, StringBuffer, and StringBuilder

    I believe that everyone has a good understanding of the difference between String and StringBuffer, but it is estimated that there are still many comrades who are not clear about the working principles of these two classes. Today I will review this concep
    2024-11-17
  • Detailed explanation of four methods of parsing XML in Java

    Detailed explanation of four methods of parsing XML in Java

    XML has now become a universal data exchange format. Its platform independence, language independence and system independence bring great convenience to data integration and interaction. For the grammatical knowledge and technical details of XML itself, y
    2024-11-17
  • Summary of Java keywords and reserved words

    Summary of Java keywords and reserved words

    Brief description of commonly used JAVA keywords and their usage Abstract: Abstract is a keyword in the Java language, used in class declarations to indicate that a class cannot be instantiated, but can be inherited by other classes. An abstract class can
    2024-11-17
  • Introduction to two for loops in Java

    Introduction to two for loops in Java

    Copy the code as follows: package com.zxd.test; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org. hibernate.cfg.Configuration; import
    2024-11-17
  • Share 10 debugging skills that Java programmers should know

    Share 10 debugging skills that Java programmers should know

    It can help identify and solve application defects. In this article, the author will use Eclipse, a commonly used development tool, to debug Java applications. However, the debugging methods introduced here are basically universal and are also applicable
    2024-11-17
  • The legal use of JAVA basic statement tags, and what is the use of {} statement blocks?

    The legal use of JAVA basic statement tags, and what is the use of {} statement blocks?

    For example, write a piece of code like this: Copy the code as follows: int i; { int j=1; i=j; } If this code exists in the class definition area, then we know that it is an ordinary statement block, used for initialization The content of the class attrib
    2024-11-17
  • Java code to obtain network files and insert into database

    Java code to obtain network files and insert into database

    Get Baidu song titles, singers and links! ! Copy the code as follows: package webTools; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.MalformedURLE
    2024-11-17
  • Java regular expression functions and applications

    Java regular expression functions and applications

    A regular expression is a formula that uses a certain pattern to match a type of string. A regular expression consists of some ordinary characters and some metacharacters. Ordinary characters include uppercase and lowercase letters and numbers, while meta
    2024-11-17
  • Get Timestamp of hours, minutes and seconds in 00:00:00 format in Java

    Get Timestamp of hours, minutes and seconds in 00:00:00 format in Java

    Copy the code as follows: import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.TimeZone; public class Test { public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy- MM-dd HH:mm:ss");
    2024-11-17
  • Use html css javascript to create your own RIA graphic tutorial page 1/2

    Use html css javascript to create your own RIA graphic tutorial page 1/2

    Before production, set up a development environment. Open netbeans6.1, right-click the new project in the project workspace, and select Web Application in the Web directory. Enter RIADemo as the project name. Select the server to run and the Java ee stand
    2024-11-17
  • eclipse+myeclipse environment configuration method

    eclipse+myeclipse environment configuration method

    1. Install jdk1.5 2. Modify environment variables: Find Path in "System Variables", click Edit, add ";D:/Program Files/Java/jdk1.5.0_07/bin" and click New , add the variable name "classpath", classpath=.;D:/Program Files/Java
    2024-11-17
  • SWT (JFace) experience circular shape (ring type)

    SWT (JFace) experience circular shape (ring type)

    Demo code: Copy the code as follows: package swt_jface.demo1; import org.eclipse.swt.SWT; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt .events.MouseMoveListener; import org.eclipse.swt.graph
    2024-11-17
  • SWT (JFace) experience Icon can be changed

    SWT (JFace) experience Icon can be changed

    The code is as follows: package swt_jface.demo; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt. graphics.Image; import org.eclipse.swt.layout.GridData; impor
    2024-11-17