`
sakakokiya
  • 浏览: 486950 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Simple Java questions and answers

阅读更多
Real-world objects contain __state_ and _behavior__.
A software object's state is stored in _fields__.
A software object's behavior is exposed through _methods__.
Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data _encapsulation__.
A blueprint for a software object is called a _Class__.
The term “instance variable” is another name for _Non-Static Fields__.
The term “class variable” is another name for _Static Fields__.
A local variable stores temporary state; it is declared inside a _method__.
A variable declared within the opening and closing parenthesis of a method signature is called a __parameter__.
What are the eight primitive data types supported by the Java programming language?
byte, long, char, int, float, double, boolean, short
Character strings are represented by the class _String__.
An _Array__ is a container object that holds a fixed number of values of a single type.
Common behavior can be defined in a _superclass__ and inherited into a _subclass__ using the _extends__ keyword.
A collection of methods with no implementation is called an _interface__.
A namespace that organizes classes and interfaces by functionality is called a _package__.
The term API stands for _Application Programming Interface__?
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics