SlideShare a Scribd company logo
First, the Java Virtual Machine (JVM) is one of the many reasons Java is such a popular
language. The JVM makes the Java language and Java programs universal and
platform independent. Rather than have a software developer write a program
specifically for languages like C, C++, Perl, or COBAL; or specifically for operating
systems like Windows, MAC, or Linux, a developer could write a program in Java and
have it operable on practically any system. The Java Virtual Machine makes this
possible. Greiner (2007) states: "Java is an interpreted language, which means Java
source code is compiled to an intermediate syntax at run time. Compiled Java source
yields byte codes, which are, in turn, executed by the local version of the Java Virtual
Machine (JVM). The JVM translates byte codes to the host platform’s native instruction
set." So as Greiner simply explained, any computer with the JVM and the Java Runtime
Environment (JRE) installed, should have no problem of running any Java program.
This is also one of the major differences between Java and C++.

Java is basically platform universal, the C language is not because its programs are
generally written for a specific target platform (Windows, Apple, etc.) However, because
of this universal compatibility, Java is not nearly as fast as a fully compiled C program.
Whereas they have their differences, like Java, C++ is also an OOP (object oriented
Programming) language. However, Java was designed from the ground up as an OOP,
while C++ is cast out of the original C language, which was made to be a structured line
by line language but has objects and classes added to it - making it far more complex
than Java.

One could argue their differences all day, but these two languages share much of the
same methods and syntax. Even the developers of Java have stated that their goal of
creating the language was simply the C++ language, by cutting out the junk and making
it universal.

More Related Content

What's hot

Uses for scripting languages,web scripting in perl
Uses for scripting languages,web scripting in perlUses for scripting languages,web scripting in perl
Uses for scripting languages,web scripting in perl
sana mateen
 
Programming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & ExtensionProgramming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & Extension
Mahmoud Samir Fayed
 
蔡学镛 Rebol漫谈
蔡学镛   Rebol漫谈蔡学镛   Rebol漫谈
蔡学镛 Rebol漫谈d0nn9n
 
Objective-C with respect to C# and Java
Objective-C with respect to C# and JavaObjective-C with respect to C# and Java
Objective-C with respect to C# and JavaBabul Mirdha
 
Hot Chocolate: You got cocoa in my PHP
Hot Chocolate: You got cocoa in my PHPHot Chocolate: You got cocoa in my PHP
Hot Chocolate: You got cocoa in my PHP
Wez Furlong
 
PHP, Java EE & .NET Comparison
PHP, Java EE & .NET ComparisonPHP, Java EE & .NET Comparison
PHP, Java EE & .NET Comparison
Haim Michael
 
Lets Go - An introduction to Google's Go Programming Language
Lets Go - An introduction to Google's Go Programming Language Lets Go - An introduction to Google's Go Programming Language
Lets Go - An introduction to Google's Go Programming Language
Ganesh Samarthyam
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#rahulsahay19
 
130700548484460000
130700548484460000130700548484460000
130700548484460000
Tanzeel Ahmad
 
C# programming language
C# programming languageC# programming language
C# programming language
swarnapatil
 
Characteristics of c#
Characteristics of c#Characteristics of c#
Characteristics of c#
Prasanna Kumar SM
 
single pass compiler and its architecture
single pass compiler and its architecturesingle pass compiler and its architecture
single pass compiler and its architecture
noor ul ain
 
Glance rebol
Glance rebolGlance rebol
Glance rebol
crazyaxe
 
Chapter 2.3
Chapter 2.3Chapter 2.3
Chapter 2.3sotlsoc
 
Presentation of programming languages for beginners
Presentation of programming languages for beginnersPresentation of programming languages for beginners
Presentation of programming languages for beginners
Clement Levallois
 
C c#
C c#C c#
C c#
Sireesh K
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
Mohammad Kamrul Hasan
 
Java Intro
Java IntroJava Intro
Java Intro
Nazmul Hasan Rupok
 

What's hot (20)

Uses for scripting languages,web scripting in perl
Uses for scripting languages,web scripting in perlUses for scripting languages,web scripting in perl
Uses for scripting languages,web scripting in perl
 
Programming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & ExtensionProgramming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & Extension
 
蔡学镛 Rebol漫谈
蔡学镛   Rebol漫谈蔡学镛   Rebol漫谈
蔡学镛 Rebol漫谈
 
Objective-C with respect to C# and Java
Objective-C with respect to C# and JavaObjective-C with respect to C# and Java
Objective-C with respect to C# and Java
 
Hot Chocolate: You got cocoa in my PHP
Hot Chocolate: You got cocoa in my PHPHot Chocolate: You got cocoa in my PHP
Hot Chocolate: You got cocoa in my PHP
 
PHP, Java EE & .NET Comparison
PHP, Java EE & .NET ComparisonPHP, Java EE & .NET Comparison
PHP, Java EE & .NET Comparison
 
Lets Go - An introduction to Google's Go Programming Language
Lets Go - An introduction to Google's Go Programming Language Lets Go - An introduction to Google's Go Programming Language
Lets Go - An introduction to Google's Go Programming Language
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
130700548484460000
130700548484460000130700548484460000
130700548484460000
 
C# programming language
C# programming languageC# programming language
C# programming language
 
Php
PhpPhp
Php
 
Characteristics of c#
Characteristics of c#Characteristics of c#
Characteristics of c#
 
single pass compiler and its architecture
single pass compiler and its architecturesingle pass compiler and its architecture
single pass compiler and its architecture
 
Glance rebol
Glance rebolGlance rebol
Glance rebol
 
Chapter 2.3
Chapter 2.3Chapter 2.3
Chapter 2.3
 
C#.NET
C#.NETC#.NET
C#.NET
 
Presentation of programming languages for beginners
Presentation of programming languages for beginnersPresentation of programming languages for beginners
Presentation of programming languages for beginners
 
C c#
C c#C c#
C c#
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
 
Java Intro
Java IntroJava Intro
Java Intro
 

Viewers also liked

Mi nresume without photo
Mi nresume without photoMi nresume without photo
Mi nresume without photo
MOHAMMED MINHAJUDDIN MOHSIN ANSARI
 
Shibaji Chandra - Cloud Architect
Shibaji Chandra - Cloud ArchitectShibaji Chandra - Cloud Architect
Shibaji Chandra - Cloud ArchitectShibaji Chandra
 
Resume (February 2012)
Resume (February 2012)Resume (February 2012)
Resume (February 2012)Michael Hughes
 
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
CSCJournals
 

Viewers also liked (12)

Mi nresume without photo
Mi nresume without photoMi nresume without photo
Mi nresume without photo
 
Ramasubramanian Tirupattur
Ramasubramanian TirupatturRamasubramanian Tirupattur
Ramasubramanian Tirupattur
 
ResumeofKathleenPastorelli
ResumeofKathleenPastorelliResumeofKathleenPastorelli
ResumeofKathleenPastorelli
 
Shibaji Chandra - Cloud Architect
Shibaji Chandra - Cloud ArchitectShibaji Chandra - Cloud Architect
Shibaji Chandra - Cloud Architect
 
Resume
ResumeResume
Resume
 
61215_FS_Kirthivasan_Pandurangan
61215_FS_Kirthivasan_Pandurangan61215_FS_Kirthivasan_Pandurangan
61215_FS_Kirthivasan_Pandurangan
 
Resume (February 2012)
Resume (February 2012)Resume (February 2012)
Resume (February 2012)
 
Nishant_Patnaik
Nishant_PatnaikNishant_Patnaik
Nishant_Patnaik
 
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
 
Sukanta_CV
Sukanta_CVSukanta_CV
Sukanta_CV
 
Resume
ResumeResume
Resume
 
IMITHIYAZ
IMITHIYAZIMITHIYAZ
IMITHIYAZ
 

Similar to Week1 dq3

Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
RahulAnand111531
 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
AmitSingh770691
 
Java features
Java  features Java  features
Java features
Madishetty Prathibha
 
Java for C++ programers
Java for C++ programersJava for C++ programers
Java for C++ programers
Salahaddin University-Erbil
 
java notes.docx
java notes.docxjava notes.docx
java notes.docx
Laibazaheer7
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
vikasbagra9887
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
SMNajrulHowlader
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
gowher172236
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
AmitSingh770691
 
Step by Step Guide on Essay Format in APA For Beginners
Step by Step Guide on Essay Format in APA For BeginnersStep by Step Guide on Essay Format in APA For Beginners
Step by Step Guide on Essay Format in APA For Beginners
calltutors
 
BlueJ Two
BlueJ TwoBlueJ Two
BlueJ Two
Saurabh Bhartiya
 
Java language is different from other programming languages, How?
Java language is different  from other programming languages, How?Java language is different  from other programming languages, How?
Java language is different from other programming languages, How?
Gyanguide1
 
Java vs C sharp Top 8 Important Differences To Know.pdf
Java vs C sharp Top 8 Important Differences To Know.pdfJava vs C sharp Top 8 Important Differences To Know.pdf
Java vs C sharp Top 8 Important Differences To Know.pdf
calltutors
 
JAVA First Day
JAVA First DayJAVA First Day
JAVA First Day
Sher Singh Bardhan
 
Java Programming (M&M)
Java Programming (M&M)Java Programming (M&M)
Java Programming (M&M)
mafffffe19
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
Qualys
 
INTRODUCTION TO JAVA.pptx
INTRODUCTION TO JAVA.pptxINTRODUCTION TO JAVA.pptx
INTRODUCTION TO JAVA.pptx
SamyakJain461
 
Java presentation
Java presentationJava presentation
Java presentation
Karan Sareen
 
Java
JavaJava

Similar to Week1 dq3 (20)

Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
 
00 intro to java
00 intro to java00 intro to java
00 intro to java
 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
 
Java features
Java  features Java  features
Java features
 
Java for C++ programers
Java for C++ programersJava for C++ programers
Java for C++ programers
 
java notes.docx
java notes.docxjava notes.docx
java notes.docx
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
 
Step by Step Guide on Essay Format in APA For Beginners
Step by Step Guide on Essay Format in APA For BeginnersStep by Step Guide on Essay Format in APA For Beginners
Step by Step Guide on Essay Format in APA For Beginners
 
BlueJ Two
BlueJ TwoBlueJ Two
BlueJ Two
 
Java language is different from other programming languages, How?
Java language is different  from other programming languages, How?Java language is different  from other programming languages, How?
Java language is different from other programming languages, How?
 
Java vs C sharp Top 8 Important Differences To Know.pdf
Java vs C sharp Top 8 Important Differences To Know.pdfJava vs C sharp Top 8 Important Differences To Know.pdf
Java vs C sharp Top 8 Important Differences To Know.pdf
 
JAVA First Day
JAVA First DayJAVA First Day
JAVA First Day
 
Java Programming (M&M)
Java Programming (M&M)Java Programming (M&M)
Java Programming (M&M)
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
INTRODUCTION TO JAVA.pptx
INTRODUCTION TO JAVA.pptxINTRODUCTION TO JAVA.pptx
INTRODUCTION TO JAVA.pptx
 
Java presentation
Java presentationJava presentation
Java presentation
 
Java
JavaJava
Java
 

More from amaxwell2012

Week3 dq4
Week3 dq4Week3 dq4
Week3 dq4
amaxwell2012
 
Week3 dq1
Week3 dq1Week3 dq1
Week3 dq1
amaxwell2012
 
Week2 dq4
Week2 dq4Week2 dq4
Week2 dq4
amaxwell2012
 
Week2 dq3
Week2 dq3Week2 dq3
Week2 dq3
amaxwell2012
 
Week2 dq2
Week2 dq2Week2 dq2
Week2 dq2
amaxwell2012
 
Week1 dq5
Week1 dq5Week1 dq5
Week1 dq5
amaxwell2012
 
Week1 dq2
Week1 dq2Week1 dq2
Week1 dq2
amaxwell2012
 
Week 4 dq 4
Week 4 dq 4Week 4 dq 4
Week 4 dq 4
amaxwell2012
 

More from amaxwell2012 (9)

Week3 dq4
Week3 dq4Week3 dq4
Week3 dq4
 
Week3 dq1
Week3 dq1Week3 dq1
Week3 dq1
 
Week2 dq4
Week2 dq4Week2 dq4
Week2 dq4
 
Week2 dq3
Week2 dq3Week2 dq3
Week2 dq3
 
Week2 dq2
Week2 dq2Week2 dq2
Week2 dq2
 
Week1 dq5
Week1 dq5Week1 dq5
Week1 dq5
 
Week1 dq2
Week1 dq2Week1 dq2
Week1 dq2
 
Week 4 dq 4
Week 4 dq 4Week 4 dq 4
Week 4 dq 4
 
Week 4 dq 3
Week 4 dq 3Week 4 dq 3
Week 4 dq 3
 

Week1 dq3

  • 1. First, the Java Virtual Machine (JVM) is one of the many reasons Java is such a popular language. The JVM makes the Java language and Java programs universal and platform independent. Rather than have a software developer write a program specifically for languages like C, C++, Perl, or COBAL; or specifically for operating systems like Windows, MAC, or Linux, a developer could write a program in Java and have it operable on practically any system. The Java Virtual Machine makes this possible. Greiner (2007) states: "Java is an interpreted language, which means Java source code is compiled to an intermediate syntax at run time. Compiled Java source yields byte codes, which are, in turn, executed by the local version of the Java Virtual Machine (JVM). The JVM translates byte codes to the host platform’s native instruction set." So as Greiner simply explained, any computer with the JVM and the Java Runtime Environment (JRE) installed, should have no problem of running any Java program. This is also one of the major differences between Java and C++. Java is basically platform universal, the C language is not because its programs are generally written for a specific target platform (Windows, Apple, etc.) However, because of this universal compatibility, Java is not nearly as fast as a fully compiled C program. Whereas they have their differences, like Java, C++ is also an OOP (object oriented Programming) language. However, Java was designed from the ground up as an OOP, while C++ is cast out of the original C language, which was made to be a structured line by line language but has objects and classes added to it - making it far more complex than Java. One could argue their differences all day, but these two languages share much of the same methods and syntax. Even the developers of Java have stated that their goal of creating the language was simply the C++ language, by cutting out the junk and making it universal.