Title: Difference between c , c++, java
1LAKSHYA INSTITUTE OF TECHNOLOGY
- SUB-Difference between C , C and Java
Presented by - Supravat Sahoo As a web
developer
E-mail -supravatsahoo06_at_gmail.com contact -
7751885863 7978669217
2Difference between C and C
- C is a procedure oriented programming language.
- It does not support oops
- concept.
- In c header file is not compulsory.
- void main is allowed in c.
- C does not support class concept.
- C is a object oriented programming language.
- It support opps concept.
- In c header file is compulsory.
- void main is not allowed in c.
- C supports class concept.
-
3Difference between C and C
- C does not support any access specifier.
- C does not support reference.
- In c function prototyping is not compulsory.
- In c we use malloc() and calloc() for memory
allocation but those are functions .
- C support 3 no. of access specifier
(private, protected, public) . - C supports reference.
- In c function prototyping
- is compulsory.
- In c we use new and delete for memory
allocation, but those are operators.
4Difference between C and C
- The name of C compiler is gcc.
- The name of C compiler is g.
5Difference between C and JAVA
- C is a procedure oriented programming language.
- C does not support oops concept.
- C is a platform dependent programming language.
- C does not support class concept.
- C doesn't support any access specifier.
- Java is object oriented programming language.
- Java supports oops concept.
- Java is a platform independent programming
language. - In java all code present inside the class.
- Java support 4 no .of access specifier(private,
protected , default and public).
6Difference between C and JAVA
- Java does not support pointer concept.
- In java there is no garbage value is present.
- Memory allocation and deallocation is not
responsible of java programmer. - In java easier to develop an application because
it support huge no of interfaces and support
class concept.
- C supports pointer concept.
- In C there is garbage value is present.
- Memory allocation and deallocation is
responsible of C programmer. - In C difficult to develop an application because
it support less no of interfaces and does not
support class .
7Difference between C and JAVA
- C is a partially object oriented programming
language because it supports primitive data
types. - In c header file is compulsory.
- C supports oops concept.
- In c new operator is responsible for memory
allocation.
- Java is a partially object oriented programming
language because it supports primitive data types
. - In java there is no header file.
- Java supports oops concept.
- In java JVM(Java virtual Machine) is responsible
for memory allocation.
8Difference between C and JAVA
- C is platform dependent programming language.
- In c there is 3 no. of access specifier is
present(private , protected - and public).
- In c if there is access specifier is not
present ,then it bidefault private in class
concept.
- Java is platform independent programming
language. - In java there is 4 no. of access specifier is
present(private ,protected , default and public). - In java if there is access specifier is not
present ,then it is bidefault default.
9Difference between C and JAVA
- C compiler name is g in Linux os.
- In C After compilation of programme generate a
.out file .
- Java compiler name is javac.
- In java after compilation of programme generate
.Class file .
10I want to say thanks , which are read this notes
of C,C and JAVA.I think it should be helpful to
you and your career.
THANK YOU