Pertanyaan dan Jawaban Wawancara Paling Populer & Tes Online
Platform edukasi untuk persiapan wawancara, tes online, tutorial, dan latihan langsung

Bangun keterampilan dengan jalur belajar terfokus, tes simulasi, dan konten siap wawancara.

WithoutBook menghadirkan pertanyaan wawancara per subjek, tes latihan online, tutorial, dan panduan perbandingan dalam satu ruang belajar yang responsif.

Prepare Interview

Core Java Pertanyaan dan Jawaban Wawancara

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

Ques 11. What is the purpose of the System class?

The purpose of the System class is to provide access to system resources.

public static void main(String args[])
{
System.out.println("WithoutBook");
}

Apakah ini membantu? Add Comment View Comments
 

Ques 12. What is java.io package in Core Java?

Java.io package provides classes for system input and output through data streams, serialization and the file system.

E.g
java.io.BufferedReader
java.io.FileReader

Apakah ini membantu? Add Comment View Comments
 

Ques 13. What is data encapsulation?

Encapsulation may be used by creating 'get' and 'set' methods in a class (JAVABEAN) which are used to access the fields of the object. Typically the fields are made private while the get and set methods are public. Encapsulation can be used to validate the data that is to be stored, to do calculations on data that is stored in a field or fields, or for use in introspection (often the case when using javabeans in Struts, for instance). Wrapping of data and function into a single unit is called as data encapsulation. Encapsulation is nothing but wrapping up the data and associated methods into a single unit in such a way that data can be accessed with the help of associated methods. Encapsulation provides data security. It is nothing but data hiding.

Apakah ini membantu? Add Comment View Comments
 

Ques 14. What is java.math package in Core Java?

Java.math package provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).

E.g
java.math.BigDecimal
java.math.BigInteger

Apakah ini membantu? Add Comment View Comments
 

Ques 15. What's the difference between J2SDK 1.5 and J2SDK 5.0?

There's no difference, Sun Microsystems just re-branded this version.

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.