Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¼¸µÀ±È½Ï»ù´¡µÄJavaÃæÊÔÌâ

Ï൱»ù´¡£¬µ«ÊÇ»¹ÊÇÂù²»´íµÄ¡£
Ò»¡¢´´½¨Ò»¸ö¾²Ì¬·½·¨£¬¸øËü´«ÈëÒ»¸ö¶ÔÏó£¬ÇëÑ­»·µÄ´òÓ¡³ö¸Ã¶ÔÏóËùÔÚÀàµÄÀàÃûºÍËùʵÏֵķ½·¨Ãû£¨»ªÎª±ÊÊÔ×îºóÒ»µÀ±à³Ì£©  
¶þ¡¢¼ÙÉè×Ö·û´®ÀàËÆÕâÑùµÄabaºÍaab¾ÍÏàµÈ£¬ÏÖÔÚËæ±ã¸øÄã¶þ×é×Ö·û´®£¬Çë±à³Ì±È½ÏËûÃÇ¿´ÊÇ·ñÏàµÈ  
Èý¡¢¸øÄãÒ»×é×Ö·û´®È磺iu7i8hy4jnb2£¬ÈÃÄã±à³ÌÊä³öÀïÃæµÄÊý×Ö£º7842  
ËÄ¡¢¸øÄãÒ»×é×Ö·û´®ÈÃÄã°ÑËüµ¹ÐðÊä³ö  
Îå¡¢¸øÄãÒ»×é×Ö·ûÈç{1£¬3£¬4£¬7£¬2£¬1£¬1£¬5£¬2}£¬ÈÃÄãÊä³öÀïÃæ³öÏÖ´ÎÊý×î¶àÇÒÊýÖµ×î´óµÄÒ»¸ö£¬³öÏÖ¼¸´Î 
ÎҵĽâ´ð£º
package com.easyProblem;
import java.lang.reflect.Method;
import java.util.Arrays;
/*
* Ò»¡¢´´½¨Ò»¸ö¾²Ì¬·½·¨£¬¸øËü´«ÈëÒ»¸ö¶ÔÏó£¬ÇëÑ­»·µÄ´òÓ¡³ö¸Ã¶ÔÏóËùÔÚÀàµÄÀàÃûºÍËùʵÏֵķ½·¨Ãû£¨»ªÎª±ÊÊÔ×îºóÒ»µÀ±à³Ì£©
¶þ¡¢¼ÙÉè×Ö·û´®ÀàËÆÕâÑùµÄabaºÍaab¾ÍÏàµÈ£¬ÏÖÔÚËæ±ã¸øÄã¶þ×é×Ö·û´®£¬Çë±à³Ì±È½ÏËûÃÇ¿´ÊÇ·ñÏàµÈ
Èý¡¢¸øÄãÒ»×é×Ö·û´®È磺iu7i8hy4jnb2£¬ÈÃÄã±à³ÌÊä³öÀïÃæµÄÊý×Ö£º7842
ËÄ¡¢¸øÄãÒ»×é×Ö·û´®ÈÃÄã°ÑËüµ¹ÐðÊä³ö
Îå¡¢¸øÄãÒ»×é×Ö·ûÈç{1£¬3£¬4£¬7£¬2£¬1£¬1£¬5£¬2}£¬ÈÃÄãÊä³öÀïÃæ³öÏÖ´ÎÊý×î¶àÇÒÊýÖµ×î´óµÄÒ»¸ö£¬³öÏÖ¼¸´Î
*/
public class FiveEasyProblem {
public static void main(String[] args){
System.out.println("<--------------µÚÒ»Ìâ----------------->");
showInfo("aaa");
System.out.println("<--------------µÚ¶þÌâ----------------->");
System.out.println("The result is: " + strEqual("334455667788","876543345678"));
System.out.println("<--------------µÚÈýÌâ----------------->");
System.out.println(findNum("w234hiho072"));
System.out.println("<--------------µÚËÄÌâ----------------->");
System.out.println(reverseString("ADdSFer34r67"));
System.out.println("<--------------µÚÎåÌâ----------------->");
System.out.println(findBigAndMost(new int[]{1,3,4,7,2,1,1,5,5,5,2}));
}
private static void showInfo(Object obj){
Class<?> cls = obj.getClass();
System.out.println("The object belongs to the class: "+cls.getName());
Method[] md = cls.getMethods();
for(int i=0; i<md.length; i++){
System.out.println("The class has method: "+ md[i].getName()


Ïà¹ØÎĵµ£º

java µ÷ÓÃÃüÁî ±¸·ÝmysqlÊý¾Ý¿â

 ´úÂëÈçÏ£º
  1  String command  =   " cmd /c C:/Program Files/MySQL/MySQL Server 5.0/bin>mysqldump -h localhost -u root -p aijia > E:/aijia.dmp " ;
  2      try    {
  3     Process process& ......

javaÉè¼Æģʽ£º×°ÊÎÆ÷ģʽ[Decorator]

×°ÊÎÆ÷ģʽÖ÷ÒªÓ¦ÓÃÓÚÕâÑùÒ»ÖÖ³¡ºÏ£¬µ±ÄãÒѾ­ÓÐÁËÒ»¸öÄ¿±êÀ࣬²¢ÇÒËüÊÇÒ»¸ö½Ó¿ÚµÄʵÏÖÀ࣬ÔÚ¶Ô¸ÃÀàʹÓõĺóÆÚ·¢ÏÖÐèÒª¶ÔÏàÓ¦½Ó¿Ú³ÌÐòµÄÇ°ºó×ö¸ü¶àµÄ´¦Àí£¬ÕâЩ´¦ÀíÊDZ仯µÄ£¬²»¹Ì¶¨µÄ£¬µ«ÊÇÓв»ÄÜÈ¥ÐÞ¸ÄÕâ¸öÄ¿±êÀ࣬ÕâʱÎÒÃǾͿÉÒÔʹÓÃÕâ¸ö×°ÊÎÆ÷ģʽ£º
±ÈÈ磬ÎÒÃÇÒѾ­ÓÐÒ»¸ö¸¶¿îµÄ·½·¨ payMoney(long count) £¬Õâ¸ö·½·¨Ö» ......

java¼Çʱ¾

³ÌÐòûʲôº¬½ðÁ¿£¬¸ßÊÖĪЦ¡£
package first;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.*;
import ......

javaÖÐÀàµÄÏÞ¶¨´ÊµÄ×÷Ó÷¶Î§±È½Ï

public£¨¹«¹²·ÃÎÊ¿ØÖÆ£©£º¿ÉÒÔ±»ËùÓÐÀà·ÃÎÊ¡£
protected£¨±£»¤·ÃÎÊ¿ØÖÆ£©£º¿ÉÒÔ±»Õâ¸öÀà±¾Éí¡¢ËüµÄ×ÓÀࣨ°üÀ¨Í¬Ò»¸ö°üÖÐÒÔ¼°²»Í¬°üÖеÄ×ÓÀࣩºÍͬһ¸ö°üÖеÄËùÓÐÆäËûÀà·ÃÎÊ¡£
default£¨ÓѺ÷ÃÎÊ¿ØÖÆ£©£º¿ÉÒÔ±»Õâ¸öÀà±¾ÉíºÍͬһ¸ö°üÖеÄÆäËûÀàËù·ÃÎÊ¡£
private£¨Ë½ÓзÃÎÊ¿ØÖÆ£©£ºÖ»Äܱ»¸ÃÀà×ÔÉí·ÃÎʺÍÐ޸ġ£ ......

Java±à³ÌÄÇЩʶù8_¶àÏß³Ì

×ÜÖ®£¬ÎÞÂÛÊǽø³ÌµÄ¸ÅÄÊÇÏ̵߳ĸÅÄ¶¼Ê¹±à³Ì´Ó´®Ðбà³Ì£¨ÒÀ´ÎÖ´ÐУ©½øÈëµ½²¢Ðбà³Ì£¨Í¬Ê±Ö´ÐУ©µÄÁìÓò£¬¶øÔÚCPUÄÚ²¿ÊµÏÖµÄÔ­Àí¶¼ÊÇ°´ÕÕʱ¼äƬ½øÐÐÇл»
2¡¢  ³ä·ÖÀûÓÃϵͳ×ÊÔ´
    ͨ¹ýÔÚÒ»¸ö³ÌÐòÄÚ²¿Í¬Ê±Ö´Ðжà¸öÁ÷³Ì£¬¿ÉÒÔ³ä·ÖÀûÓÃCPUµÈϵͳ×ÊÔ´£¬´Ó¶ø×î´óÏ޶ȵķ¢»ÓÓ²¼þµÄÎüÄÜ¡£¾ÍÏñÒ»¸öÈËÍ¬Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ