This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Compiler v/s Interpreter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compiler v/s Interpreter" Watch "Compiler v/s Interpreter" New topic

Compiler v/s Interpreter

Ashok Pradhan
Ranch Hand

Joined: Dec 17, 2007
Posts: 180

I want to know what is the difrence between compiler and interpreter.And java is a compiler based language or not and what about .NET ,C# and VisualBasic are what type of language.
Joe Ess

Joined: Oct 29, 2001
Posts: 8876

Languages like Java and the .NET framework are a combination of the two. They us a compiler to generate a platform agnostic bytecode (as opposed to platform-specific binary code) and an interpreter to execute that bytecode.
[ July 30, 2008: Message edited by: Joe Ess ]

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Don't get me started about those stupid light bulbs.
subject: Compiler v/s Interpreter