Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Core Java perguntas e respostas de entrevista

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

Pergunta 236. What is the difference between the File and RandomAccessFile classes?

The File class encapsulates the files and directories of the local file system. The RandomAccessFile class provides the methods needed to directly access data contained in any part of a file.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 237. What interface must an object implement before it can be written to a stream as an object?

An object must implement the Serializable or Externalizable interface before it can be written to a stream as an object.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 238. What value does readLine() return when it has reached the end of a file?

The readLine() method returns null when it has reached the end of a file.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 239. What value does read() return when it has reached the end of a file?

The read() method returns -1 when it has reached the end of a file.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 240. What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented.

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.