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__?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值