栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > Java面试题

Simple Java questions and answers

Java面试题 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

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

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/264717.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号