SlideShare a Scribd company logo
C+ +
Platform-
independent
01
02
03
04
05
Origin
Thread Support
Design Goal
Compiler and
Interpreter
Origin
Thread Support
Design Goal
Compiler and
Interpreter
VERSUS
JAVA
Platform-
independent
Below is a summary of the main differences
between C++ and Java
The C++ programming
language is platform-
dependent.
The C++ programming
language is based upon C
language.
C++ doesn't have built-
in support for threads. It
relies on third-party
libraries for thread
support.
C++ was designed for
systems and applications
programming. It was an
extension of the C
programming language.
C++ uses compiler only.
C++ is compiled and run
using the compiler
which converts source
code into machine code
Java programming is
based on both C++ and
the C language.
Java has built-in
thread support.
Java was designed and
created as an interpreter
for printing systems but
later extended as a
support network
computing. I
Java uses both compiler and
interpreter. Java source code
is converted into bytecode at
compilation time. The
interpreter executes this
bytecode at runtime and
produces output.
The Java programming
language is platform-
independent
tutorialandexample.com

More Related Content

PPTX
JAVA was developed by Sun Microsystems in 1991
PPTX
Comparison of C++ and JAVA.pptx
PPTX
C++ vs java which is best for future
PDF
C++ vs Java: Which one is the best?
PDF
Difference between c, c++ and java
PPTX
Java Programming vs C++_ An Informative Comparison.pptx
PPTX
JAVA introduction and basic understanding.pptx
PPTX
Introduction to java
JAVA was developed by Sun Microsystems in 1991
Comparison of C++ and JAVA.pptx
C++ vs java which is best for future
C++ vs Java: Which one is the best?
Difference between c, c++ and java
Java Programming vs C++_ An Informative Comparison.pptx
JAVA introduction and basic understanding.pptx
Introduction to java

Similar to What is the differnce between C++ and java programming? (20)

PPT
Java ppt-class_basic data types methods definitions
PPTX
UNIT 1 Programming in java Bsc program.pptx
PPTX
java slides
PDF
OOPS JAVA.pdf
PPT
Introduction to java new
PPT
Introduction to java new
PPT
Difference between C++ and Java
PPT
C++ to java
PPTX
Introduction to java
PPTX
c vs java (2).pptx
DOCX
java introduction.docx
PPT
Java ppt-class_Introduction_class_Objects.ppt
PPTX
C vs JAVA.pptx
PPTX
Introduction to java
PPTX
Introduction to java
PPTX
Introduction to java
PPTX
Introduction to java
PPTX
Java. converted (2)
PPTX
Java Introduction
PPT
GETTING STARTED WITH JAVA(beginner)
Java ppt-class_basic data types methods definitions
UNIT 1 Programming in java Bsc program.pptx
java slides
OOPS JAVA.pdf
Introduction to java new
Introduction to java new
Difference between C++ and Java
C++ to java
Introduction to java
c vs java (2).pptx
java introduction.docx
Java ppt-class_Introduction_class_Objects.ppt
C vs JAVA.pptx
Introduction to java
Introduction to java
Introduction to java
Introduction to java
Java. converted (2)
Java Introduction
GETTING STARTED WITH JAVA(beginner)
Ad

More from maxnegi333 (11)

PDF
What is a pangram in Java programming ?
PDF
What is the memory area in Java programming?
PDF
What is radix sort in Java programming ?
PDF
What is bucket sort in Java programming?
PDF
What is Deque interface in Java programming?
PDF
How to use the transient keywords in Java?
PDF
What is counting sort in Java PROGRAMMING?
PDF
How to interrupt a thread in Java programming?
PDF
What is thread control in Java programming?
PDF
What is a URL in Java programming ?
PDF
What is a collection interface in Java ?
What is a pangram in Java programming ?
What is the memory area in Java programming?
What is radix sort in Java programming ?
What is bucket sort in Java programming?
What is Deque interface in Java programming?
How to use the transient keywords in Java?
What is counting sort in Java PROGRAMMING?
How to interrupt a thread in Java programming?
What is thread control in Java programming?
What is a URL in Java programming ?
What is a collection interface in Java ?
Ad

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Presentation on HIE in infants and its manifestations
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
master seminar digital applications in india
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
Classroom Observation Tools for Teachers
Chinmaya Tiranga quiz Grand Finale.pdf
Final Presentation General Medicine 03-08-2024.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pharma ospi slides which help in ospi learning
GDM (1) (1).pptx small presentation for students
Presentation on HIE in infants and its manifestations
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
VCE English Exam - Section C Student Revision Booklet
Final Presentation General Medicine 03-08-2024.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
2.FourierTransform-ShortQuestionswithAnswers.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
master seminar digital applications in india
human mycosis Human fungal infections are called human mycosis..pptx
Microbial disease of the cardiovascular and lymphatic systems

What is the differnce between C++ and java programming?

  • 1. C+ + Platform- independent 01 02 03 04 05 Origin Thread Support Design Goal Compiler and Interpreter Origin Thread Support Design Goal Compiler and Interpreter VERSUS JAVA Platform- independent Below is a summary of the main differences between C++ and Java The C++ programming language is platform- dependent. The C++ programming language is based upon C language. C++ doesn't have built- in support for threads. It relies on third-party libraries for thread support. C++ was designed for systems and applications programming. It was an extension of the C programming language. C++ uses compiler only. C++ is compiled and run using the compiler which converts source code into machine code Java programming is based on both C++ and the C language. Java has built-in thread support. Java was designed and created as an interpreter for printing systems but later extended as a support network computing. I Java uses both compiler and interpreter. Java source code is converted into bytecode at compilation time. The interpreter executes this bytecode at runtime and produces output. The Java programming language is platform- independent tutorialandexample.com