• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Interview question  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
Can anyone explain "how can we explain relationship between java and jvm using realtime exmaples?"
 
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi surya praveen welcome to Javaranch ,
Firstly please UseAMeaningfulSubjectLine. for your post so that it is descriptive.

I am not clear what you are asking of.
Java is a programming language and the JVM is a virtual machine/ byte code interpreter for compiled Java programs.
 
Ranch Hand
Posts: 2908
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by surya praveen:
hi
Can anyone explain "how can we explain relationship between java and jvm using real time exmaples?"



Its like,
1. Instructions processed by CPU,
2. Human Body movements controlled by Brain !
3. A car running due to engine !

Hope you get this mapping of Java/JVM to real world !
 
surya praveen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am asking how can explain what is the relationship between java and jvm to person who dint know anything?
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Sagar Rohankar:


Its like,
1. Instructions processed by CPU,
2. Human Body movements controlled by Brain !
3. A car running due to engine !

Hope you get this mapping of Java/JVM to real world !



I think this is a correct answer.
Without JVM java program can not be execute.
With JVM java program can run on different Platforms.
[ August 11, 2008: Message edited by: cheng jian ]
 
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let me try Java/JVM relationship:
in computer/java terms - JVM=processor, java=logic telling processor what to do.
in human terms - JVM=brain, java=signals/nerves send to brain (JVM) what to do such that person can move limbs or react to hot/cold things.
in car terms - JVM=engine, java=driver telling engine when to change gear/speed or brake etc.

hope this helps
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!