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

JavaºÍC++³ÌÐòÔ±´ýÓöÎÊÌâ

      ×î½ü°àÀïµÄͬѧ¶¼Ã¦×ű¨°à£¬Óиö´ïÄÚÊÇjavaÅàѵ£¬ÓиöÉîÀ¶ÊÇC++Åàѵ£¬ÍøÉÏ¿´ÁËЩÌû×Ó˵ʲôµÄ¶¼ÓУ¬×ÔÎҸоõÅàÑøÒ»¸öC++³ÌÐòÔ±µÄÖÜÆÚÒª±ÈÅàÑøÒ»¸öjAVA³ÌÐòÔ±µÄÖÜÆÚ³¤ºÜ¶à£¬µ±È»£¬C++ÒªÊÇѧµÄºÃµÄ»°¿Ï¶¨±ÈѧjavaµÄÅ££¬µ«ÊǸ¶³öµÄ´ú¼Û¸öÈËÈÏΪÊÇÓкܴó²î¾àµÄ¡£¶ÔÓÚÏÖÔÚÊг¡É϶ÔÓÚÓïÑÔµÄÐèÇóÒ²²»Çå³þÊÇjava¶àÒ»µã»¹ÊÇc++¶à¡£Íû¶®ÐеÄÇ°±²Ö¸µãÒ»¶þ£¡¸Ð¼¤²»¾¡£¡


Ïà¹ØÎĵµ£º

JavaÐòÁл¯µÄ»úÖƺÍÔ­Àí£¨½²µÄºÜÏêϸҲºÜÒ׶®£©


±¾ÎĽ²½âÁËJavaÐòÁл¯µÄ»úÖƺÍÔ­Àí¡£´ÓÎÄÖÐÄã¿ÉÒÔÁ˽âÈçºÎÐòÁл¯Ò»¸ö¶ÔÏó£¬Ê²Ã´Ê±ºòÐèÒªÐòÁл¯ÒÔ¼°JavaÐòÁл¯µÄËã·¨¡£
 
00 00 00 0B: 11, containVersionµÄÖµ.
 
0x70:TC_NULL£¬Ã»Óг¬ÀàÁË¡£
 
0x49: ÓòÀàÐÍ. 49 ´ú±í"I", Ò²¾ÍÊÇInt..
00 0E: ÓòÃû×Ö³¤¶ ......

JavaѧϰԴ´úÂë

package com.huawei.globe;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
public class CrossConectionContextSheet
{
 CrossCalition cc = new CrossCalition();
&nbs ......

javaÐòÁл¯Óë·´ÐòÁл¯


import java.beans.XMLDecoder;
import java.beans.XMLEncoder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/************************* ......

JavaÊý¾Ý¿â±à³Ì


µÚÒ»Õ£ºjava¶ÔÏó³Ö¾Ã»¯¼¼Êõ¸ÅÊö
1£º³Ö¾Ã»¯£ºpersistence£»¶ÔÏó³Ö¾Ã»¯°üº¬Á½·½ÃæµÄÄÚÈÝ£º½«ÄÚ´æÊý¾Ý´æÈ볤ÆÚ¼ÇÒä½éÖʲ¢ÄÜ´ÓÕâЩ½éÖÊÉÏÎÞ²î´íµØ¸´Ô­µ½ÄÚ´æ¡£
2£ºÍ¨¹ýʵÏÖjava.io°üÖеÄSerializable½Ó¿Ú£¨¼´¶ÔÏóÐòÁл¯ºÍ·¹ÐòÁл¯¼¼Êõ£©ÊµÏÖ£¬ÕâÖÖ¼¼ÊõºÜÖØÒª£¬ËäÈ»ÔÚÖ´Ðг־û¯Ê±Óм«´óµÄÏÞÖÆ£¬È磺ЧÂʵÍÏ¡¢²»Ö§³ÖÊÂÎñµÈ ......

ÀûÓÃjavaÐòÁл¯·´ÐòÁл¯ ʵÏÖ·­ÒëÀý×Ó

xmlÖмüÃûΪ Ó¢ÎÄ£¬¼üֵΪÖÐÎÄ£¬¶ÁÈ¡½âÎö£¬È¡ÖµÊµÏÖ·­Òë
import java.beans.XMLDecoder;
import java.beans.XMLEncoder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList; ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ