Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

關於Java的一些問題

1.最大公因數(Greatest Common Divisor)

可以利用輾轉相除法求得,使用遞迴定義

一個靜態方法(get GCD) 可以求得兩數的

  最大公因數.

2.說明修飾字:

A.public

B.static

C.final

D.abstract

E.project

3.物件擁有三種特性:_________,_________和_________.

4.什麼是UML,其目的為何?

5.請說明什麼是Java的套件?

6.何謂類別物件?

7.試述Java物件導向程式語言與其他程式語言

8.試述JavaAPI套件製作程序及載入

請各路高手幫我解答 謝謝^^

1 Answer

Rating
  • 1 decade ago
    Favorite Answer

    A.public

    the methods or attributes declared as public, those methods and attributes could be accessed or call outside

    B.static

    only one instance.

    C.final

    no more inherit.

    D.abstract

    abstract method means no method body. Subclass should implement the abstract method.

    E.project

    For IDE, one project included all of the interface, classes, jar and resource.

    物件擁有三種特性:_inheritance, encapsulation, and polymorphism.

    何謂類別物件? Class object?

    Compare JAVA with C :

    different: Java no pointer, no destructor, the root of class is object, garbage collector function in JVM.

Still have questions? Get your answers by asking now.