搜索工作 |
搜索工作 公司点评 查工资 看趋势
微信

使用微信服务,更方便

职友集>Java面试题 > Simple Java questions and answers

Simple Java questions and answers

2015-02-21 06:30:01 阅读( 10 )

2371人 收藏本页

标签:Java面试题

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__.
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__?
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__?

来自IT公司面试手册

下一篇:What is difference between static and global variable in java?

上一篇:一套Java测试题 带答案

亲~ 如果您有更好的答案 可在评论区发表您独到的见解。

您想查看更多的信息: 面试题