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

javaÄÚ²¿Àà¼Ì³ÐʾÀý£¡

package innerClass.test;
public class InheritTest
{
    public static void main(String[] args)
    {
        Person p = new Person("LMS");
        p.show();
        Person.Inner inner = p.new Inner();
        inner.showName();
        Person.Inner inner1 = new Person("Hello").new Inner();
        inner1.showName();
        Student s = new Student("!!");
        s.show();
        Student.Inner in = s.new Inner();
        in.showName();
        Student s1 = new Student("11");
        InnerA innerA = new InnerA(s1);
        innerA.showName();
    }
}
class Person
{
    private String name;
    public Person(String name)
    {
        this.name = name;
    }
    public void show()
    {
        Inner in = new Inner();
        in.showName();
    }
    class Inner
    {
        public Inner()
        {
        }
        public void showName()
        {
            System.out.println(name);
        }
 


Ïà¹ØÎĵµ£º

java ʵÏÖÖÐÓ¢ÎÄ»ìʱµÃµ½³¤¶È ¹ý³¤×Ö·ûÌæ»»

java ´úÂëʵÏÖ
 public static boolean isLetter(char c) { 
                 int k = 0x80; 
                 return c / k == 0 ? true : false;& ......

Java AppletÓëJava ApplicationµÄÇø±ð

Java AppletÓëJava ApplicationµÄÇø±ð
ÔÚJavaÓïÑÔÖУ¬Äܹ»¶ÀÁ¢ÔËÐеijÌÐò³ÆΪJavaÓ¦ÓóÌÐò£¨Application£©¡£JavaÓïÑÔ»¹ÓÐÁíÍâÒ»ÖÖ³ÌÐò——Applet³ÌÐò¡£Applet³ÌÐò£¨Ò²³ÆJavaС³ÌÐò£©ÊÇÔËÐÐÓÚ¸÷ÖÖÍøÒ³ÎļþÖУ¬ÓÃÓÚÔöÇ¿ÍøÒ³µÄÈË»ú½»»¥¡¢¶¯»­ÏÔʾ¡¢ÉùÒô²¥·ÅµÈ¹¦ÄܵijÌÐò¡£
     Java Appletº ......

²âÊÔjava ¿ªÔ´µÄ²âÊÔ¹¤¾ß


2009-12-01 12:06:43
JUnit 
JUnitÊÇÓÉ Erich Gamma ºÍ Kent Beck ±àдµÄÒ»¸ö»Ø¹é²âÊÔ¿ò¼Ü£¨regression testing framework£©¡£Junit²âÊÔÊdzÌÐòÔ±²âÊÔ£¬¼´Ëùν°×ºÐ²âÊÔ£¬ÒòΪ³ÌÐòÔ±ÖªµÀ±»²âÊÔµÄÈí¼þÈçºÎ£¨How£©Íê³É¹¦ÄܺÍÍê³ÉʲôÑù£¨What£©µÄ¹¦ÄÜ¡£JunitÊÇÒ»Ì׿ò¼Ü£¬¼Ì³ÐTestCaseÀ࣬¾Í¿ÉÒÔÓÃJunit½øÐÐ×Ô¶¯²âÊÔÁË¡ ......

WebService java µ÷ÓÃ .net·½·¨

package com.test.servlet;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.message.SOAPHeaderElement;
public class WebService {
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ