- Java 9 with JShell
- Gastón C. Hillar
- 185字
- 2021-07-09 18:46:48
Test your knowledge
- Objects are also known as:
- Subclasses.
- Fields.
- Instances.
- Which of the following class names follows the Pascal case convention and would be an appropriate name for a class in Java 9:
regularDecagon
RegularDecagon
Regulardecagon
- The code specified in a method within a class:
- Can access the fields specified in the class.
- Cannot interact with other members of the class.
- Cannot access the fields specified in the class.
- The functions defined in a class to encapsulate behavior for each instance of the class are known as:
- Subclasses.
- Fields.
- Methods.
- A subclass:
- Inherits only methods from its superclass.
- Inherits only fields from its superclass.
- Inherits all members from its superclass.
- The variables defined in a class to encapsulate data for each instance of the class in Java 9 are known as:
- Fields.
- Methods.
- Subclasses.
- The variables defined in a class to encapsulate data for each instance of the class in Java 9 are known as:
- Fields.
- Methods.
- Subclasses.
- Which of the following field names follows the Camel case convention and would be an appropriate name for a field in Java 9:
SemiMinorAxis
semiMinorAxis
semiminoraxis
推薦閱讀
- 數(shù)據(jù)庫系統(tǒng)教程(第2版)
- Windows系統(tǒng)管理與服務(wù)配置
- Linux操作系統(tǒng)基礎(chǔ)案例教程
- 零基礎(chǔ)入門學(xué)習(xí)Python
- Java Web程序設(shè)計(jì)任務(wù)教程
- Python語言實(shí)用教程
- 詳解MATLAB圖形繪制技術(shù)
- Citrix XenServer企業(yè)運(yùn)維實(shí)戰(zhàn)
- Processing創(chuàng)意編程指南
- HTML5+CSS3+JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- 深入實(shí)踐DDD:以DSL驅(qū)動(dòng)復(fù)雜軟件開發(fā)
- UML軟件建模
- Web前端測(cè)試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實(shí)踐
- Java編程指南:語法基礎(chǔ)、面向?qū)ο?、函?shù)式編程與項(xiàng)目實(shí)戰(zhàn)
- Python高性能編程(第2版)