java_beginner
java_beginner

Reputation: 101

Why JVM is called an abstract machine?

I'm a beginner in learning java.

And, I've following questions on JVM:

I know that abstraction means hiding unnecessary details and showing the required details only.

Why JVM is called an abstract machine?

Which information/implementation details it hides?

And, which details/functionality it shows?

Upvotes: 0

Views: 618

Answers (2)

celeritas
celeritas

Reputation: 2281

An abstract machine is a theoretical model of a physical machine. The JVM is a virtual machine-- a software implementation of a physical computer. The respective uses of abstract that you cite carry different practical meanings.

Upvotes: 0

Barodapride
Barodapride

Reputation: 3723

It abstracts the hardware platform and memory usage details.

Upvotes: 1

Related Questions