|
關注:1
2013-05-23 12:21
求翻譯:java運行時系統根據調用該方法的實例,來決定調用哪個方法。對子類的一個實例,如果子類重寫了父類的方法,則運行時系統調用子類的方法;如果子類繼承了父類的方法(未重寫),則運行時系統調用父類的方法。是什么意思?![]() ![]() java運行時系統根據調用該方法的實例,來決定調用哪個方法。對子類的一個實例,如果子類重寫了父類的方法,則運行時系統調用子類的方法;如果子類繼承了父類的方法(未重寫),則運行時系統調用父類的方法。
問題補充: |
|
2013-05-23 12:21:38
call the method an instance of the java runtime system to determine which method to call. An instance of the subclass, if the subclass overrides a superclass method, the runtime system calls a subclass; subclass inherits the parent class method (not rewrite), the runtime system calls the parent clas
|
|
2013-05-23 12:23:18
Java run-time system, based on examples of this method is called, to decide which method calls. Subclasses of a class instance, if you re a parent class of the method, you run-time system call sub-class of the method; if the child class inherits the methods of parent classes (not rewrite), the run-t
|
|
2013-05-23 12:24:58
When java movement the system basis transfers this method the example, decided which method transfers.To a subclass example, if the subclass has rewritten father's class method, then moves time system call subclass method; If the subclass has inherited father's class method (recomposition), then mov
|
|
2013-05-23 12:26:38
Java run-time system based on the instance that calls the method to determine which method to call. An instance of the pair class, if the subclass overrides the parent class's method, the run-time system call subclass methods; if the child class inherits the methods of the parent class (no override)
|
|
2013-05-23 12:28:18
正在翻譯,請等待...
|
湖北省互聯網違法和不良信息舉報平臺 | 網上有害信息舉報專區 | 電信詐騙舉報專區 | 涉歷史虛無主義有害信息舉報專區 | 涉企侵權舉報專區