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

JAVAºÍC++Çø±ð(ZZ)

JAVAºÍC++¶¼ÊÇÃæÏò¶ÔÏóÓïÑÔ¡£Ò²¾ÍÊÇ˵£¬ËüÃǶ¼Äܹ»ÊµÏÖÃæÏò¶ÔÏó˼Ï루·â×°£¬¼Ì³Ë£¬¶à̬£©¡£¶øÓÉÓÚc++ΪÁËÕչ˴óÁ¿µÄCÓïÑÔʹÓÃÕߣ¬¶ø¼æÈÝÁËC£¬Ê¹µÃ×ÔÉí½ö½ö³ÉΪÁË´øÀàµÄCÓïÑÔ£¬¶à¶àÉÙÉÙÓ°ÏìÁËÆäÃæÏò¶ÔÏóµÄ³¹µ×ÐÔ£¡JAVAÔòÊÇÍêÈ«µÄÃæÏò¶ÔÏóÓïÑÔ£¬Ëü¾ä·¨¸üÇåÎú£¬¹æÄ£¸üС£¬¸üÒ×ѧ¡£ËüÊÇÔÚ¶Ô¶àÖÖ³ÌÐòÉè¼ÆÓïÑÔ½øÐÐÁËÉîÈëϸÖÂÑо¿µÄ»ù´¡ÉÏ£¬ÞðÆúÁËÆäËûÓïÑԵIJ»×ãÖ®´¦£¬´Ó¸ù±¾ÉϽâ¾öÁËc++µÄ¹ÌÓÐȱÏÝ¡£
JavaºÍc++µÄÏàËÆÖ®´¦¶àÓÚ²»Í¬Ö®´¦£¬µ«Á½ÖÖÓïÑÔÓм¸´¦Ö÷ÒªµÄ²»Í¬Ê¹µÃJava¸üÈÝÒ×ѧϰ£¬²¢ÇÒ±à³Ì»·¾³¸üΪ¼òµ¥¡£
ÎÒÔÚÕâÀï²»ÄÜÍêÈ«Áгö²»Í¬Ö®´¦£¬½öÁгö±È½ÏÏÔÖøµÄÇø±ð£º
1£®Ö¸Õë
JAVAÓïÑÔÈñà³ÌÕßÎÞ·¨ÕÒµ½Ö¸ÕëÀ´Ö±½Ó·ÃÎÊÄÚ´æÎÞÖ¸Õ룬²¢ÇÒÔöÌíÁË×Ô¶¯µÄÄÚ´æ¹ÜÀí¹¦ÄÜ£¬´Ó¶øÓÐЧµØ·ÀÖ¹ÁËc£¯c++ÓïÑÔÖÐÖ¸Õë²Ù×÷ʧÎó£¬ÈçÒ°Ö¸ÕëËùÔì³ÉµÄϵͳ±ÀÀ£¡£µ«Ò²²»ÊÇ˵JAVAûÓÐÖ¸Õ룬ÐéÄâ»úÄÚ²¿»¹ÊÇʹÓÃÁËÖ¸Õ룬ֻÊÇÍâÈ˲»µÃʹÓöøÒÑ¡£ÕâÓÐÀûÓÚJava³ÌÐòµÄ°²È«¡£
2£®¶àÖؼ̳Ð
c++Ö§³Ö¶àÖؼ̳У¬ÕâÊÇc++µÄÒ»¸öÌØÕ÷£¬ËüÔÊÐí¶à¸¸ÀàÅÉÉúÒ»¸öÀà¡£¾¡¹Ü¶àÖؼ̳й¦ÄܺÜÇ¿£¬µ«Ê¹Óø´ÔÓ£¬¶øÇÒ»áÒýÆðÐí¶àÂé·³£¬±àÒë³ÌÐòʵÏÖËüÒ²ºÜ²»ÈÝÒס£Java²»Ö§³Ö¶àÖؼ̳У¬µ«ÔÊÐíÒ»¸öÀà¼Ì³Ð¶à¸ö½Ó¿Ú(extends+implement)£¬ÊµÏÖÁËc++¶àÖؼ̳еŦÄÜ£¬ÓÖ±ÜÃâÁËc++ÖеĶàÖؼ̳ÐʵÏÖ·½Ê½´øÀ´µÄÖî¶à²»±ã¡£
3£®Êý¾ÝÀàÐͼ°Àà
JavaÊÇÍêÈ«ÃæÏò¶ÔÏóµÄÓïÑÔ£¬ËùÓк¯ÊýºÍ±äÁ¿¶¼±ØÐëÊÇÀàµÄÒ»²¿·Ö¡£³ýÁË»ù±¾Êý¾ÝÀàÐÍÖ®Í⣬ÆäÓàµÄ¶¼×÷ΪÀà¶ÔÏ󣬰üÀ¨Êý×é¡£¶ÔÏó½«Êý¾ÝºÍ·½·¨½áºÏÆðÀ´£¬°ÑËüÃÇ·â×°ÔÚÀàÖУ¬ÕâÑùÿ¸ö¶ÔÏ󶼿ÉʵÏÖ×Ô¼ºµÄÌصãºÍÐÐΪ¡£¶øc++ÔÊÐí½«º¯ÊýºÍ±äÁ¿¶¨ÒåΪȫ¾ÖµÄ¡£´ËÍ⣬JavaÖÐÈ¡ÏûÁËc£¯c++ÖеĽṹºÍÁªºÏ£¬Ïû³ýÁ˲»±ØÒªµÄÂé·³¡£
4£®×Ô¶¯ÄÚ´æ¹ÜÀí
Java³ÌÐòÖÐËùÓеĶÔÏó¶¼ÊÇÓÃnew²Ù×÷·û½¨Á¢ÔÚÄÚ´æ¶ÑÕ»ÉÏ£¬Õâ¸ö²Ù×÷·ûÀàËÆÓÚc++µÄnew²Ù×÷·û¡£ÏÂÃæµÄÓï¾äÓÉÒ»¸ö½¨Á¢ÁËÒ»¸öÀàReadµÄ¶ÔÏó£¬È»ºóµ÷ÓøöÔÏóµÄwork·½·¨£º
Read r£½new Read()£»
r.work()£»
Óï¾äRead r£½new Read()£»ÔÚ¶ÑÕ»½á¹¹ÉϽ¨Á¢ÁËÒ»¸öReadµÄʵÀý¡£Java×Ô¶¯½øÐÐÎÞÓÃÄÚ´æ»ØÊÕ²Ù×÷£¬²»ÐèÒª³ÌÐòÔ±½øÐÐɾ³ý¡£¶øcʮʮÖбØÐëÓɳÌÐòÔ±ÊÍ·ÅÄÚ´æ×ÊÔ´£¬Ôö¼ÓÁ˳ÌÐòÉè¼ÆÕߵĸºµ£¡£JavaÖе±Ò»¸ö¶ÔÏó²»±»ÔÙÓõ½Ê±£¬ÎÞÓÃÄÚ´æ»ØÊÕÆ÷½«¸øËü¼ÓÉϱêÇ©ÒÔʾɾ³ý¡£JAVAÀïÎÞÓÃÄÚ´æ»ØÊÕ³ÌÐòÊÇÒÔÏ̷߳½Ê½ÔÚºǫ́ÔËÐеģ¬ÀûÓÿÕÏÐʱ¼ä¹¤×÷¡£
5£®²Ù×÷·ûÖØÔØ
Java²»Ö§³Ö²Ù×÷·ûÖØÔØ¡£²Ù×÷·ûÖØÔر»ÈÏΪÊÇcʮʮµÄÍ»³öÌØÕ÷£¬ÔÚJavaÖÐËäÈ»Àà´óÌåÉÏ¿ÉÒÔʵÏ


Ïà¹ØÎĵµ£º

AndroidÖи÷ÖÖJAVA°üµÄ¹¦ÄÜÃèÊö


ÔÚAndroidµÄÓ¦ÓóÌÐò¿ª·¢ÖУ¬Í¨³£Ê¹ÓõÄÊÇJAVAÓïÑÔ£¬³ýÁËÐèÒªÊìϤJAVAÓïÑԵĻù´¡ÖªÊ¶Ö®Í⣬»¹ÐèÒªÁ˽âAndroidÌṩµÄÀ©Õ¹µÄJAVA¹¦ÄÜ¡£
ÔÚÒ»°ãµÄJAVAÓ¦ÓÃÖУ¬Èç¹ûÐèÓÃÒýÓûù´¡Àà¿â£¬Í¨³£ÐèҪʹÓÃÈçϵķ½Ê½£º
import
javax.swing.*;
ÒÔÉÏ´úÂë±íʾÁËÒýÓÃJAVAµÄGUI×é¼þSwing,javax.swing¼´JAVAÖеÄÒ»¸ö°ü¡£
androidÌá¹©Ò ......

×Ô¼ºÊÜÁ˵ã´Ì¼¤ JavaÄܹ»Ìæ´úCÓïÑÔÂð£¿


ÎÒ²»ÖªµÀÕâƪÎÄÕµÄ×÷ÕßÊÇË­£¬µ«ÎÒÖªµÀ£¬Ëû¶ÔjavaÓÐÒ»ÖÖºÜÉîµÄÀí½â£¬ÆäʵÎÄÕÂÖв¢Ã»ÓÐÌåÏÖ³ö×÷Õ߶Ôjava¼¼ÊõÉî²ãÀí½â£¬µ«ÊÇ´ÓÎÄÖеÄÿһ¾ä»°ÖУ¬ÎÒ¸ÐÊܵ½ÁËһЩ¶«Î÷¡£ÕâÊÇһƪºÜºÃµÄÎÄÕ£¬Ò²¿ÉÒÔ°ïÖúºÜ¶àÈËÃÔãµÄÈ˽â¾öÎÊÌâ¡£´øÀ´ºÍ´ó¼Ò·ÖÏíһϡ£
Ç°²»¾ÃCSDN¿¯µÇÁËһƪ¡¶CÓïÑÔÒѾ­ËÀÁË¡·µÄÎÄÕ£¬ÒýÆðÁËһЩÕùÂÛ¡£ÆäʵÄÇÆ ......

JavaµÝ¹é


Java±éÀúÎļþ¼ÐµÄ2ÖÖ·½·¨£º
A.²»Ê¹Óõݹ飺
import java.io.File;
import java.util.LinkedList;
public class FileSystem {
public static void main(String[] args) {
long a = System.currentTimeMillis();
LinkedList list = new LinkedList();
File dir = new File("c:\\java\\ ......

c/C++±àÒëµÄ³ÌÐòÕ¼ÓõÄÄÚ´æ

Ò»¸öÓÉc/C++±àÒëµÄ³ÌÐòÕ¼ÓõÄÄÚ´æ·ÖΪÒÔϼ¸¸ö²¿·Ö
1¡¢Õ»Çø£¨stack£©— ÓɱàÒëÆ÷×Ô¶¯·ÖÅäÊÍ·Å £¬´æ·Åº¯ÊýµÄ²ÎÊýÖµ£¬¾Ö²¿±äÁ¿µÄÖµµÈ¡£Æä²Ù×÷·½Ê½ÀàËÆÓÚÊý¾Ý½á¹¹ÖеÄÕ»¡£
2¡¢¶ÑÇø£¨heap£© — Ò»°ãÓɳÌÐòÔ±·ÖÅäÊÍ·Å£¬ Èô³ÌÐòÔ±²»ÊÍ·Å£¬³ÌÐò½áÊøʱ¿ÉÄÜÓÉOS»ØÊÕ ¡£×¢ÒâËüÓëÊý¾Ý½á¹¹ÖеĶÑÊÇÁ½»ØÊ£¬·ÖÅ䷽ʽµ¹ÊÇÀà ......

JAVA×¢½â


AnnotationÊÇJava5¡¢6Ö»ºóµÄÐÂÌØÕ÷£¨ÖÐÎijÆ֮Ϊע½â£©£¬²¢ÇÒÔ½À´Ô½¶àµÄµÃµ½ÁËÓ¦Ó㬱ÈÈçSpring¡¢Hibernate3¡¢Struts2¡¢iBatis3¡¢JPA¡¢JUnitµÈµÈ¶¼µÃµ½Á˹㷺ӦÓã¬Í¨¹ýʹÓÃ×¢½â£¬´úÂëµÄÁé»îÐÔ´ó´óÌá¸ß¡£
   ÕâЩ¶¼ÊÇʹÓñðÈ˶¨ÒåµÄ×¢½â£¬Ò»°ã×¢½âµÄʹÓö¼ÊÇÔÚһЩ»ù´¡¿ò¼Ü»òÕßÀà¿âÖÐÀ´¶¨ÒåµÄ£¬Òò´ËºÜÉÙ¼û¹ýÓÐÈ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ