Java learning path (2) Books

  It is impossible to read only one or two books to learn a new knowledge. A step-by-step reading process is required. I recommend the Java series books published by oreilly. Here I just want to add one point. Many people start with thinking in

Two depressing exceptions: Java. Lang. stackoverflowerror and java.net. socketexception: broken pipe

After debugging for almost one day, I am tossing and killing me for a bug. The reason for the bug is that Code When not careful, will: Public Boolean isempty () { return this. queue. isempty (); } Written: Public Boolean isempty () { return this.

Java-based Web server implementation [Z]

How Java-based Web servers work 1 A Web server, also known as an HTTP server, communicates with clients over HTTP. This client usually refers to a web browser. A Java-based Web server uses two important classes: java.net. socket and java.net.

Diagnose Java code: Easy code Maintenance

Avoid unnecessary changes and access to make the code robust and easier to maintain Level: Entry Eric E. Allen (eallen@cs.rice.edu)Ph.D. student, Java programming language team, Rice University)April 2003 This month, Eric Allen explained how it is

Java programming things 32-If statement syntax (2)

Java programming those things 32-If statement syntax (2) Zhengzhou game college Chen yuefeng from: http://blog.csdn.net/mailbomb 5.3.1.2 if-else statementIf-else statements implement closed conditions, which are more common in programs. The else

Java programming-50-Example 2 of multi-dimensional array

Java programming those things 50-multi-dimensional array use Example 2 Zhengzhou game college Chen yuefeng from: http://blog.csdn.net/mailbomb 6.6.3 storage image structureRequirement: Draw the specified character at the corresponding position based

The GOTO statement in Java!

The GOTO statement is a reserved word in Java and is not implemented. However, in other languages (C), Goto is a valid keyword.Although the break and continue supported in Java can implement the GOTO statement function, I personally summarize that

Uninstall openjdk Java under ubuntu12.10 to install Sun Java

1. Uninstall the previous JDK and mark all options that contain openjdk in the new version to completely delete it. Or execute sudo apt-Get autoremove openjdk-6-jre 2, download JDK Software Follow these steps to install Sun JDK: Slave. Then

Some suggestions for beginners of Java

Recently, many beginners of Java asked me a lot of questions, all of which are basic questions. So I thought of writing an article and giving them some suggestions for learning Java. But I was a little scared after I decided to write this article. I

Special Java class usage: File class, internal class, local class, Anonymous class

1. File class Test is a file class. class Test { static void method() { //... }}public class Driver { public static void main(String[] args) { Test.method(); }} 2. Internal class class OuterClass { int outerData; static int

Formatting numeric and currency in Java

java.textThe package allows formatting of text messages, dates, and numeric values in a way unrelated to a specific language. Many people cooperateMessageFormatClass uses a resource package to localize messages for users. More people seem to

Java class file description

I. What is a Java class file?The javatm virtual machine specification (second Edtion) Statement: a Java class file consists of eight-byte streams, all 16-bit, 32-bit, and 64-bit data are constructed by reading 2, 4, and 8 bytes respectively. The

Common usage of Java. util. Collections class

This class is a tool class for Java. util. collection. Field:Public static final list empty_list;Public static final map empty_map;Public static fianl set empty_set; Method:Boolean addall (collection C, object...)Add all specified elements to the

10 Best Practices for exception handling in Java programming

Exception Handling is an important part of writing strong Java applications. It is a non-functional requirement of each application and is used to handle any error situations elegantly, such as resource unavailability, illegal input, and empty input.

Java Local interface (JNI) programming guide and specifications (preface)

Link: http://blog.sina.com.cn/s/blog_53988c0c0100osmc.html (The Java Native Interface programmer's guide and specification)   PrefaceThis book involves the "Java" Local interface (JNI ). This book will be useful to you if you are interested in the

Java tip 96: Use https to write client programs

Java tip 96: Use https to write client programsHow to Use https in standard URL classes By Matt towers SummaryUsing HTTPS (Hypertext Transfer Protocol Secure Hypertext Transfer Protocol) is not as simple and straightforward as you think. If you

Getting started with regular expressions (Java)-Introduction

Getting started with regular expressions (Java)-Introduction Getting started with regular expressions (Java)-1-getting startedGetting started with regular expressions (Java)-2-Basic instances Getting started with regular expressions (Java)-3-use of

Integer operations in Java (including truncation and tail rounding and rounding)

It is troublesome to perform Integer Optimization in Java, especially rounding and rounding. The following are three integer operations (including truncation, rounding, and rounding) based on some answers on the Internet, which are similar to

Java EE application development basics: A letter to the course representative

The following is a letter I wrote to the class representatives.   Haha, I learned about Java through Zhang Cong and CaO Wenjie two days ago.The idea of the EE application development basics course is very responsible for the two course

Java multi-thread programming 9: An example of a Java thread pool implemented using executors and threadpoolexecutor

The thread pool is used to manage the number of worker threads. It holds a queue of threads waiting for execution.Java. util. Concurrent. executors provides the java. util. Concurrent. executor interface to create a thread pool in Java. Let's write

Total Pages: 6206 1 .... 465 466 467 468 469 .... 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.