热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

Core Java 面试题与答案

Test your skills through the online practice test: Core Java Quiz Online Practice Test

问题 211. How are Observer and Observable used?

Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.

这有帮助吗? 添加评论 查看评论
 

问题 212. How does Java handle integer overflows and underflows?

It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.

这有帮助吗? 添加评论 查看评论
 

问题 213. To what value is a variable of the String type automatically initialized?

The default value of an String type is null.

这有帮助吗? 添加评论 查看评论
 

问题 214. What is the range of the short type?

The range of the short type is -(2^15) to 2^15 - 1.

这有帮助吗? 添加评论 查看评论
 

问题 215. What is Downcasting ?

Downcasting is the casting from a general to a more specific type, i.e. casting down the hierarchy

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。