I am confused now. I just finished learning javase. Now I feel like I have nothing to do. I don't know what to learn, what to learn, what to learn online, what to use, what to do, what to learn, and so on. I hope you can give me some comments.
Http://www.blogjava.net/JaVaa/
1. Use URL:URL
=
New
URL (
"
FTP: // javaa: javaa@172.168.2.222: 21/test/javaa.txt
"
);
Printwriter pw
=
New
Printwriter (URL. openconnection (). getoutputstream ());
PW. Write (
"
This is a test
"
);
PW. Flush ();
PW.
Address: http://www.cnblogs.com/521shina/archive/2009/03/19/1417204.html
The getresponsebody method of the getmethod class in the httpclient class library returns the byte [] type, which is inconvenient to operate. I want to convert it to the string
Import java. util. arraylist;
Import java. util. RegEx. matcher;
Import java. util. RegEx. pattern;
Public class test {Public static void main (string [] ARGs ){Getstrings (); // use a regular expression to obtain the specified content in the
By michaelzyy and michaelzyy
Original article: http://www.matrix.org.cn/resource/article/2006-11-28/JAVA+Real+Time_72f1a994-7e38-11db-babc-9753a314dd4b.html
What does real-time mean?
Greg bollella, an outstanding engineer at Sun and one of the
1. addition, subtraction, multiplication, division
public class MyMath {public static final int DEFAULT_SCALE = 20;public static double add(double num1, double num2) {BigDecimal first = getBigDecimal(num1);BigDecimal second =
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//////////
Private Static string strdefaultkey = "# % ^ &";
/**
* Convert the byte array to a string that represents the hexadecimal value, for
Published on blog.csnd.net/zxubThere was nothing to do in the past two days, and I started to play with Java again. I wanted to write something to send an email and thought about what parameters to save. How can I save it? Suddenly think of an XML
Interesting insights on the 23 Java Design Patterns
Source: ccidnet
Creation Mode
1. Factory-try to catch up with mm. The chicken wings of McDonald's and the chicken wings of KFC are what mm loves. Although the taste is different, whether you take
Improved the recursion part of the blog code I posted in 6.2.
The printing method is called in the movethetopone () method. Before calling this method, print the direction of movement-from Tower X to Tower y
The tower requires that all the
JVM classloader Architecture:
A, bootstrap classloader/start class loaderIt is mainly responsible for packaging the core API under the jdk_home/lib directory or the jar specified by the-xbootclasspath option.
B. Extension classloader/extension class
Declare one point:
The string pool corresponds to the region where the String constant is stored in the constant pool. It is also called the string pool.
String Constant Pool.
1. First, string does not belong to eight basic data types. String is
Q:
How to set the environment variables of Java 2 (jdk1.2?
A:After installing Java 2, you need to set the path and java_home environment variables. Different from jdk1.1: After setting the java_home environment variable, JVM will automatically
1. Use filewriter and filereader to read and write files
Import Java. io. *; public class javaapplication2 { /** * @ Param ARGs the command line arguments */ public static void main (string [] ARGs) throws filenotfoundexception, ioexception {
Hashset: Hash Tables store information by means of a mechanism called hash, and elements are not stored in a specific order;
Linkedhashset: Maintain the chain table of the Set in the order of element insertion, and allow iteration in the set in the
It has been verified as follows:
1. for basic types (only = can be used)= Comparison value
2. For encapsulation classes of basic types (Boolean, integer, double, long, float)= Compare addressEquals comparison value
3. for Class objects= Compare
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