20165235 Java first Week learning summary

20165235 Java first Week learning summary Installation and use of Git under Ubuntu First Ubuntu under the installation of Git, use to sudo apt-get install git download Ubuntu, after the download is complete can be viewed with instructions git .

20165221 Java first week learning experience and experience

Theoretical learning of getting started with JavaIn the course of JAVA2 using the tutorial, it is divided into the following modules to explain The status of Java Features of Java Installing the JDK (Java develepement Kit) Development

Socket proxy implemented with Java (supports SOCKET4 and SOCKET5)

Import java.io.*;Import java.net.InetAddress;Import Java.net.ServerSocket;Import Java.net.Socket;Import Java.nio.ByteBuffer;Import Java.text.DateFormat;Import Java.text.SimpleDateFormat;Import Java.util.Arrays;Import Java.util.Date;Import

Java GetResource two ways to use

svn

1. Create a new Java project;2, a new test package under the Src/main/java;3. Create a new Test.java file and file.txt file under the test package;4, Test.java file content is written as follows: Package test; Import Java.net.URL; Public class Test

Java was started but returned exit Code=13 problem resolution

After I installed the JDK, the environment was also configured, and the configuration of the environment was not a problem. Finally I downloaded Eclipse and then opened it and found the error as shown:Java was started but returned exit

java-notes-string, Integer,math, regular expressions

Do a few exercises, previously did not how to use the method these times used more.String String method1. Interception of str.substring (beginindex,endindex) substring (beginindex)2.indexOf (), locates the index position of the target Str in the

Java Creating immutable Objects-final Keyword Usage Summary

Strictly speaking, the final modified variable cannot be changed, and once the initial value is obtained, the value of the final variable cannot be re-assigned, so there is a difference between the final decorated member variable and the decorated

Basic knowledge of Java NIO

ObjectiveThe preface part is the science popularization, the reader can choose whether to read this part content.Why do we need to care about NIO? I think a lot of business apes will have this question.I was in the first two years of work on this

Is there a memory leak in Java?

A memory leak is an object or variable that is no longer being used and is always occupied in memory. However, there is a garbage collection mechanism in Java that can automatically purge objects that are no longer in use from memory.Even so, there

The difference between the three string,stringbuilder,stringbuffer in Java

The difference between the three classes is mainly in two aspects, that is, running speed and thread safety. First of all, the speed of operation, or the speed of execution, in this respect the speed of operation is: StringBuilder >

Java large number class

The BigInteger classes and BigDecimal classes provided by Java can be used when the primary integer and floating-point precision do not meet the requirements.Java.math.BigIntegerJava.math.BigInteger provides the method: BigInteger Add

Java parsing Excel files with POI

You first need to introduce the following jar packagesIf you use MAVEN, you need to add two dependencies Dependencies> Dependency> groupId>Org.apache.poigroupId> Artifactid>PoiArtifactid> version>3.15version>

Spring Learning in the Java series--Annotations (iii)

aop

First, annotationsTo turn on the automatic scanning feature before using annotations Second, structure code    Iii. Common annotations@Service for labeling business layer components,@Controller for labeling control-layer components, such as

Hadoop formatted HDFS error JAVA.NET.UNKNOWNHOSTEXCEPTION:CENTOS64

Exception descriptionIn the case of an unknown hostname when you format the Hadoop namenode-format command on HDFS, the exception information is as follows:Java code [Shirdrn@localhost bin]$ Hadoop namenode-format 11/06/: + INFO namenode.

Java Advanced Three: Reflection

1. Three ways to get the instance object (class type) corresponding to each bytecode, examples are as follows:Class name, for example, System.classObject. GetClass (), for example, New Date (). GetClass ()Class.forName ("Class name"), for example,

Java two-dimensional array matrix multiplication implementation method, two-dimensional array Multiplication

Java two-dimensional array matrix multiplication implementation method, two-dimensional array Multiplication Copy codeThe Code is as follows:Public interface IMatrixMultiple {Public int [] [] mmltiple (int [] [] a, int [] [] B );}? Public class

Semaphore source code analysis of Java concurrent series, semaphore source code

Semaphore source code analysis of Java concurrent series, semaphore source code Semaphore is a common class in the JUC package. It is an application in the AQS sharing mode and allows multiple threads to operate on shared resources at the same time,

Eclipse sets the insert variable... function details in the Text Template, eclipsevariable ..

Eclipse sets the insert variable... function details in the Text Template, eclipsevariable .. Set the Text Template profile: Set Text Template detail process: http://www.cnblogs.com/lsy131479/p/8478711.html     HereLeadSet the insert variable...

Export Excel Data Based on POI and POI export Excel Data

Export Excel Data Based on POI and POI export Excel DataExport Excel Data Based on POI There are many report services in the project and data needs to be exported. Here we use the POI-based method for parsing. POI has two Resolution Methods: HSSF

Exploring the principle of MyBatis interceptor and mybatis Interception

Exploring the principle of MyBatis interceptor and mybatis Interception Introduction to MyBatis interceptor MyBatis provides a plug-in function. Although called plug-in, it is actually an interceptor function. So what content does the interceptor

Total Pages: 6206 1 .... 3081 3082 3083 3084 3085 .... 6206 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.