¼¸µÀ±È½Ï»ù´¡µÄ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()
Ïà¹ØÎĵµ£º
Ê×ÏÈһЩ±»³õʼ»¯¶ÔÏóµÄ¸ÅÄ
Àà±äÁ¿£¨Àྲ̬³ÉÔ±£©£º Àà±»¼ÓÔØʱ²úÉú£»ËüµÄÉú´æÆÚÊÇÀàµÄÉú´æÆÚ£»×Ô¶¯³õʼ»¯£¨Àà±»¼ÓÔØ£©
³ÉÔ±±äÁ¿£¨Àà³ÉÔ±£©£º ÔÚʹÓÃnew´´½¨¸ÃÀàʵÀýʱ²úÉú£»ËüµÄÉú´æÆÚÓë¸ÃÀàʵÀý¶ÔÏóµÄÉú´æÆÚÏàͬ£»
×Ô¶¯³õʼ»¯£¨¹¹Ôì·½·¨±»µ÷Óã©
¾Ö²¿±äÁ¿£¨ÀàµÄ·½·¨ÖеıäÁ¿£©£º ¸Ã·½·¨±»µ÷ÓÃÊ ......
³ÌÐòûʲôº¬½ðÁ¿£¬¸ßÊÖĪЦ¡£
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´úÂë
package com.hefeng.test;
import java.text.DateFormat;
import java.text.ParsePosition;
import&n ......
1.½éÉÜ
1£©DOM£¨JAXP Crimson½âÎöÆ÷£©
DOMÊÇÓÃÓëƽ̨ºÍÓïÑÔÎ޹صķ½Ê½±íʾXMLÎĵµµÄ¹Ù·½W3C±ê×¼¡£DOMÊÇÒÔ²ã´Î½á¹¹×éÖ¯µÄ½Úµã»òÐÅϢƬ¶ÏµÄ¼¯ºÏ¡£Õâ¸ö²ã´Î½á¹¹ÔÊÐí¿ª·¢ÈËÔ±ÔÚÊ÷ÖÐÑ°ÕÒÌض¨ÐÅÏ¢¡£·ÖÎö¸Ã½á¹¹Í¨³£ÐèÒª¼ÓÔØÕû¸öÎĵµºÍ¹¹Ôì²ã´Î½á¹¹£¬È»ºó²ÅÄÜ×öÈκι¤×÷¡£ÓÉÓÚËüÊÇ»ùÓ ......
ÔÚjavaeyeÉÏËѵ½Ò»Æªrobbin¹ØÓÚjavaÐòÁл¯µÄ»Ø¸´£¬ÎÒ¾õµÃÆäÖеÄÀý×ÓºÜÓÐ˵·þÁ¦£¬×ª¹ýÀ´ºÍ´ó¼Ò·ÖÏí¡£
¹ØÓÚ¸ü¶àjavaÐòÁл¯µÄÎÊÌâ¿ÉÒԲμûJAVAϵÁÐÖ®¶ÔÏóµÄÐòÁл¯Óë·´ÐòÁл¯
JavaµÄÐòÁл¯»úÖÆÖ»ÐòÁл¯¶ÔÏóµÄÊôÐÔÖµ£¬¶ø²»»áÈ¥ÐòÁл¯Ê²Ã´ËùνµÄ·½·¨¡£Æä ......