Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : java

JavaÓëC#Ë­ÊÇÓ¢ÐÛ?


¡¡¡¡»¥ÁªÍøµÄáÈÆð£¬Ê¹µÃPC´Ó²úÒµÖÐÐÄÏò±ßÔµ¹ý¶É£¬¶øÀú¾­20ÓàÄêµÄ·¢Õ¹£¬PCÊг¡Ò²Ç÷ÓÚ±¥ºÍ£¬´½Íö³Ýº®£¬Õâ½Ð¿¿PC³Ô·¹µÄ΢ÈíÈçºÎ²»¼±£¿ÎüÈ¡Á˵±Ä꿪·¢ä¯ÀÀÆ÷Èí¼þµÄ½Ìѵ£¬2000Äê6Ô£¬Î¢ÈíÆô¶¯.Net¼Æ»®£¬½ø¾üÍøÂç·þÎñÊг¡£¬±È¶û·¸Ç´Ä×ÔÐŵسƣº"ÊÀ½çÉÏËùÓÐÒ»Çж¼½«°üÀ¨ÔÚ»¥ÁªÍø·þÎñÖС£" 
¡¡¡¡.NETµÄ˼ÏëÆäʵÊÇÀ´Ô´ÓÚä¯ÀÀÆ÷£¬¼´½ñºóµÄµçÄÔÀïÃæ½«Ã»ÓÐÆäËüµÄÓ¦ÓÃÈí¼þ£¬Ö»ÐèÒªÒ»¸ö³¬¼¶ä¯ÀÀÆ÷¡£Óû§¾Í¿ÉÒÔ´ÓÍøÉÏÏÂÔØËùÐèÒªµÄÈí¼þ¡£C#ÊÇÓÃÀ´¿ª·¢ÕâÀàÓ¦ÓóÌÐòºÍ·þÎñµÄ±à³ÌÓïÑÔ£¬±»ÈÏΪÊÇSun¹«Ë¾Java±à³ÌÓïÑԵľºÕù¶ÔÊÖ¡£C#ÓïÑÔ³ýÁË¿ÉÒÔʹµçÄÔÖ®¼äµÄͨПü¼ò±ã¡¢¸üÖ±½ÓÍ⣬»¹ÄÜʹÊÖ»ú¡¢PDAµÈÕÆÉÏÉ豸¿ì½ÝµØÏÔʾ»¥ÁªÍøÉϵÄÐÅÏ¢¡£SUN¹«Ë¾Ò²Á¦ÍÆSUN OneÀ´¿¹ºâ΢ÈíµÄ.NET£¬SUN ONEƽ̨µÄ»ù´¡°üÀ¨Solaris²Ù×÷ϵͳ¡¢Java±à³ÌÓïÑÔ¡£ÒÔ¼°ÏàÓ¦µÄÈí¼þ¿ª·¢¹¤¾ß¡£Sun»¹ÊÔͼ°Ñ¸÷ÖÖ²»Í¬µÄÈí¼þ¼¯³Éµ½Õâ¸öƽ̨ÖУ¬°üÀ¨ËüµÄµç×ÓÉÌÎñÈí¼þ£¬²¢¼Æ»®Ê¹ËüËùÓеIJúÆ·È«¶¼¼æÈÝÐµĻ¥ÁªÍø·þÎñ¼¼Êõ±ê×¼¡£ 
¡¡¡¡È¥ÄêµÄÕâ¸öʱºò£¬Î¢ÈíµÄËÀ¶ÔÍ·SUN¹«Ë¾µÄCEO˹¿ÆÌØ·Âó¿ËÄáÀûÒ²À´»ª·ÃÎÊ£¬ÍÆÏúÆäSUN One¼¼Êõ¡£ÓÐÒâ˼µÄÊÇ£¬¾ÍÔÚÂó¿ËÄáÀû·Ã»ªµÄǰ¼¸Ì죬SUN½«Î¢ÈíÍÆÉÏ·¨Í¥£¬ÒªÎªÆäJavaÓïÑÔÊܵ½Åż· ......

JavaÓëC#Ë­ÊÇÓ¢ÐÛ?


¡¡¡¡»¥ÁªÍøµÄáÈÆð£¬Ê¹µÃPC´Ó²úÒµÖÐÐÄÏò±ßÔµ¹ý¶É£¬¶øÀú¾­20ÓàÄêµÄ·¢Õ¹£¬PCÊг¡Ò²Ç÷ÓÚ±¥ºÍ£¬´½Íö³Ýº®£¬Õâ½Ð¿¿PC³Ô·¹µÄ΢ÈíÈçºÎ²»¼±£¿ÎüÈ¡Á˵±Ä꿪·¢ä¯ÀÀÆ÷Èí¼þµÄ½Ìѵ£¬2000Äê6Ô£¬Î¢ÈíÆô¶¯.Net¼Æ»®£¬½ø¾üÍøÂç·þÎñÊг¡£¬±È¶û·¸Ç´Ä×ÔÐŵسƣº"ÊÀ½çÉÏËùÓÐÒ»Çж¼½«°üÀ¨ÔÚ»¥ÁªÍø·þÎñÖС£" 
¡¡¡¡.NETµÄ˼ÏëÆäʵÊÇÀ´Ô´ÓÚä¯ÀÀÆ÷£¬¼´½ñºóµÄµçÄÔÀïÃæ½«Ã»ÓÐÆäËüµÄÓ¦ÓÃÈí¼þ£¬Ö»ÐèÒªÒ»¸ö³¬¼¶ä¯ÀÀÆ÷¡£Óû§¾Í¿ÉÒÔ´ÓÍøÉÏÏÂÔØËùÐèÒªµÄÈí¼þ¡£C#ÊÇÓÃÀ´¿ª·¢ÕâÀàÓ¦ÓóÌÐòºÍ·þÎñµÄ±à³ÌÓïÑÔ£¬±»ÈÏΪÊÇSun¹«Ë¾Java±à³ÌÓïÑԵľºÕù¶ÔÊÖ¡£C#ÓïÑÔ³ýÁË¿ÉÒÔʹµçÄÔÖ®¼äµÄͨПü¼ò±ã¡¢¸üÖ±½ÓÍ⣬»¹ÄÜʹÊÖ»ú¡¢PDAµÈÕÆÉÏÉ豸¿ì½ÝµØÏÔʾ»¥ÁªÍøÉϵÄÐÅÏ¢¡£SUN¹«Ë¾Ò²Á¦ÍÆSUN OneÀ´¿¹ºâ΢ÈíµÄ.NET£¬SUN ONEƽ̨µÄ»ù´¡°üÀ¨Solaris²Ù×÷ϵͳ¡¢Java±à³ÌÓïÑÔ¡£ÒÔ¼°ÏàÓ¦µÄÈí¼þ¿ª·¢¹¤¾ß¡£Sun»¹ÊÔͼ°Ñ¸÷ÖÖ²»Í¬µÄÈí¼þ¼¯³Éµ½Õâ¸öƽ̨ÖУ¬°üÀ¨ËüµÄµç×ÓÉÌÎñÈí¼þ£¬²¢¼Æ»®Ê¹ËüËùÓеIJúÆ·È«¶¼¼æÈÝÐµĻ¥ÁªÍø·þÎñ¼¼Êõ±ê×¼¡£ 
¡¡¡¡È¥ÄêµÄÕâ¸öʱºò£¬Î¢ÈíµÄËÀ¶ÔÍ·SUN¹«Ë¾µÄCEO˹¿ÆÌØ·Âó¿ËÄáÀûÒ²À´»ª·ÃÎÊ£¬ÍÆÏúÆäSUN One¼¼Êõ¡£ÓÐÒâ˼µÄÊÇ£¬¾ÍÔÚÂó¿ËÄáÀû·Ã»ªµÄǰ¼¸Ì죬SUN½«Î¢ÈíÍÆÉÏ·¨Í¥£¬ÒªÎªÆäJavaÓïÑÔÊܵ½Åż· ......

ÎÄÕ£ºJavaºÍ.NETÁ½¸öÊÀ½çµÄ¼«µã£º×¬Ç®ºÍÓéÀÖ

ÎÄÕ£ºJavaºÍ.NETÁ½¸öÊÀ½çµÄ¼«µã£º×¬Ç®ºÍÓéÀÖ
×÷Õß »ôÌ©ÎÈ ·¢²¼ÓÚ 2007Äê7ÔÂ16ÈÕ ÉÏÎç3ʱ4·Ö
ÉçÇø .NET, Java Ö÷Ìâ Java+.NET¼¯³É, »¥²Ù×÷, ¹ÊʺͰ¸Àý·ÖÎö ±êÇ© SQL Server 2005, Spring¿ò¼Ü
Ö±µ½ÏÖÔÚ£¬Ôںܶ࿪·¢ÕßÉçÇøÀïÄã¶¼»¹ÄÜ¿´µ½¹ØÓÚJavaºÍ.NETÄǸöºÃ£¬ÄĸöÈÝÒ×ѧ£¬Äĸö¸üÓÐǰ¾°µÄÌÖÂÛ¡£ÆäʵÕâЩÕùÂÛÑϸñÀ´Ëµ£¬ºÁÎÞÒâÒ壬ÕýÈçÎÒÃÇͨ³£Ëù˵µÄÒ»¾ä»°£¬“²»¹ÜºÚè°×裬ÄÜץסºÄ×Ó¾ÍÊǺÃ蔣¬ÔÚÈκÎÒ»¸öƽ̨»òÕßÓïÑÔµÄÁìÓòÀÎÒÃǶ¼ÄÜ¿´µ½³É¹¦µÄµä·¶¡£ËäÈ»¸÷ÓÐÓÅȱµã£¬µ«ËüÃÇÒ²¶¼¸÷Äܽâ¾ö²»Í¬µÄÎÊÌ⣬ÔÚ×Ô¼ºÉó¤µÄÁìÓòÀïÓ®µÃ¿ª·¢ÕßµÄ×ðÖØ¡£Æäʵ£¬ÏÖÔÚÓÐÒ»¸ö¸üÉîÈëµÄ»°Ì⣬Ҳ¾ÍÊDZ¾ÎÄ×÷ÕßTed NewardËùÌÖÂ۵ė—Å׿ªÄ㾿¾¹Ï²»¶Äĸöƽ̨£¬ÏòÈçºÎ½«Á½¸öƽ̨½áºÏʹÓÃÁìÓòÂõ½ø¡£
ÔÚһƪÎÄÕÂÀïÍêÈ«ÁгöÁ½¸öƽ̨ËùÓеÄÕûºÏ·½·¨²»Ì«ÏÖʵ£¬Ted Neward¸ù¾Ý×Ô¼ºµÄ¾­ÑéÑ¡ÔñÁ˼¸¸ö±È½ÏÎüÒýÈ˵ķ½Ê½£¬´ÓÀíÄîºÍ´úÂëÉϽøÐÐÁ˲ûÊö¡£°üÀ¨´ÓWPFµ½WCFÔÙµ½Java Web Service£¬SQL Server·þÎñ´úÀíÓëJSP£¬OfficeÓëSpringµÈ£¬³ýÁ˶ÔÕâÈý¸ö½øÐбȽÏÏêϸµÄ½éÉÜÍ⣬Ëû»¹¼òµ¥Ìáµ½ÆäËûһЩ±È½ÏʵÓõķ½°¸ÈçʹÓÃJavaµÄWorkflow²Ù×÷¡¢ÄÚÖÃWorkflowµÄJavaµÈ¡£ÎÄÄ©¶ÔJavaºÍ.NETÁ ......

³õѧJAVAÖ®Ò»

1¡¢ Ò»¸öÊýÈç¹ûÇ¡ºÃµÈÓÚÆäÒò×Ó£¨³ýÁ˱¾ÉíÒÔÍâµÄÔ¼ÊýÖ®ºÍ£©£¬¸ÃÊý¾Í³ÆÎª“ÍêÊý”¡£±àдһ¸ö Java Application  ³ÌÐò£¬Çó³ö 1000 ÒÔÄÚµÄËùÓÐÍêÊý¡£
 
public class homework11
{
public static void main(String[] args)
//Êä³ö1000ÒÔÄÚµÄËùÓÐÍêÊý
{
int sum;                                       
System.out.print( "**********1000ÒÔÄÚµÄËùÓÐÍêÊýÈçÏÂ:");
System.out.println(); //»»ÐÐ
for(int i = 1; i <= 1000; i++)
{
    sum=0;//³õʼ»¯sum±äÁ¿£¬²¢ÔÚÿ¸öiµÄforµÄÑ­»·ºóʹsumÖµ¹éÁã
    for(int j = 1; j < i; j++){
        if(i % j == 0) //È¡ÓàÊý
        sum = sum + j;//Çói³ýÁ˱¾ÉíÒÔÍâµÄËùÓÐÔ¼ÊýÖ®ºÍ
         } 
    if(sum == i) ......

³õѧJAVAÖ®¶þ

1¡¢ ´®²Ù×÷£ºÊ¹ÓÃ×Ö·û´®´æÖüÒ»¸öÓ¢Îľä×Ó“Java is an object oriented programming
 language”¡£ÏÔʾ¸Ã¾ä×Ó£¬²¢Ëã³öÿ¸öµ¥´ÊµÄ×ÖĸÊýºÍƽ¾ù×ÖĸÊý£¬²¢°´µ¥´ÊÉýÐòÅÅÁÐÊä³ö£¨²»ÓÃÊý×飬ֻÓô®²Ù×÷£©
public class homework21 {
   public static void main(String[] args) {
          String java = "Java is an object oriented programming language.";
          float sum1= java.length();                   //×Ö·û´®³¤¶È48
          System.out.println(java);                  //Êä³ö×Ö·û´®
          StringBuffer copyToMe = new StringBuffer();//¶¨Ò建³åÇø
          int i = 0;
   ......

³õѧJAVAÖ®Èý

1¡¢±àдһ¸ö¼òµ¥µÄÎı¾±à¼­Æ÷£¬ÒªÇ󣺾ßÓдò¿ª¡¢±£´æ¡¢Ð½¨£¬Õ³Ìù¡¢¸´ÖƵȹ¦ÄÜ£»¾ßÓÐÒ»¸ö¹¤¾ßÌõ¡£
 
1.1¡¢³ÌÐòÔ´Â루²Î¼ûmenu.java£©£º
 
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.URL;
 
public class menu extends JFrame implements ActionListener
{   
   public menu()
      {
      setDefaultCloseOperation(EXIT_ON_CLOSE);//³ÌÐòÍ˳ö
      JMenuBar menuBar1 = new JMenuBar();//Éú³ÉʵÀý
      JMenu menuFile = new JMenu("Îļþ(File)");//²Ëµ¥ÊµÀý
      JMenu menuEdit = new JMenu("±à¼­(E)");
         JTable jTable = new JTable();//ʵÀý»¯±í¸ñ
        JToolBar toolBar = new JToolBar("mytoolbar!");//¹¤¾ßÌõʵÀý
        toolBar.setVisible(true);//É趨¿É¼û
    &n ......

³õѧJAVAÖ®ËÄ

±àдһ¸ö¼òµ¥µÄÎı¾±à¼­Æ÷£¬ÒªÇ󣺾ßÓдò¿ª¡¢±£´æ¡¢Ð½¨£¬Õ³Ìù¡¢¸´ÖƵȹ¦ÄÜ£»¾ßÓÐÒ»¸ö¹¤¾ßÌõ¡£±àдһ¸öÀàËÆ Windows ¼Çʱ¾µÄ¼òµ¥³ÌÐò£¬¸Ã³ÌÐòÄܹ»´´½¨ÐÂÎļþ¡¢¶ÁÈ¡ÒѾ­´æÔÚµÄÎļþ¡¢²é¿´ºÍÐÞ¸ÄÎı¾ÒÔ¼°±£´æÎªÎı¾Îļþ¡£
ÔÝʱ»¹²»»á×ö£¬Å¬Á¦ÖС£¡£¡£¡£¡£¡£¡£¡£ ......
×ܼǼÊý:6386; ×ÜÒ³Êý:1065; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [837] [838] [839] [840] 841 [842] [843] [844] [845] [846]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ