SlideShare a Scribd company logo
1 of 11
OBJECT ORIENTED
PROGRAMMING
TOPIC – DIFFERENCE BETWEEN JAVA & C
NAME – AVIK BOSE
UNIVERSITY ROLL NO - 14501221084
INRODUCTION
 JAVA – Java is an object –oriented programming language that produces software
for multiple platforms . When a programmer writes a Java application, the
complied code (known as bytecode) runs on most operating systems (OS) ,
including Windows , Linux and MAC OS . Java derives much of its syntax from the C
and C++ programming language
 C – C is a powerful general –purpose programming language . It can be used to
develop software like operating systems , databases , compilers and so on . C
programming is language to learn program for beginners .
HISTORY
C was developed by Dennis M. Ritchie
between 1969 and 1973 . C was originally
developed for UNIX Operating Systems to
beat the issues of previous language such
as B , BCPL , ETC.
Java was created at Sun Microsystems . It was
originally designed for interactive television ,
but it was too advance technology for the
digital cable industry at the time . The
principles of Java programming were “Simple ,
Robust , Portable , Platform-independent ,
Secured , High Performance , Multi-threaded ,
Architecture Neutral , Object-Oriented ,
Interpreted and Dynamic” . Java is developed
by JAMES GOSLING , who is known as father of
java , in 1995 . Java developing was started in
early 90s .
KEY FEATURES OF JAVA
 One of the most interesting and important features which Java supports is the WORA –
Write Once Run Anywhere – features . Once compiled , Java code can be run on any
computing platform . For example , if a code has been written on a MAC Operating
system , the same code can be run on a WINDOWS Operating Systems without any
trouble if the Windows operating system has JVM(Java Virtual Machine) installed on it .
 Java is purely an Object-Oriented-Programming Language , that’s why , all Java codes
are always written in the form of classes and objects .
 Java is a multi-threaded language with automatic memory management . It has great
features for garbage collection and is heavily used for distributed computing because of
its network – centricity .
 Java is dynamic and extensible .
 Java is also secure and robust .
KEY FEATURES OF C
 C is a structured programming language that is extremely easy to learn .
 It is an efficient programming language , it is fast and has very good performance .
 C is a highly portable and extensible programming language because it is not tied to
any hardware or systems . Any code written in C can be run on any machine which
supports C , without modifying a single line a code .
 C has a rich set of built-in Operators and libraries with functions .
 C is modular and statically typed .
 C is a Procedure Oriented Programming language (POPs) .
 C is a high level language with low level features .
LANGUAGE TYPE
C language
 C is a procedural programming
language .
 C is more procedure - oriented .
 C is a middle – level language
because binding of the gaps takes
place between machine – level
language and high – level languages .
JAVA language
 Java is an Object-Oriented
language .
 Java is more data-oriented .
 Java is a high – level language
because the translation of code
takes place into machine language
using a compiler or interpreter .
c JAVA
PROGAMMING PARADIGMS AND OBJECT MANAGEMENT
 C is generally breaks down to
functions .
 It is more procedure oriented .
 In C one has to manage object
manually .
 Java breaks down to Objects .
 It is more data-oriented .
 In Java object is automatically
managed by the garbage collector .
C language JAVA language
MEMORY ALLOCATION
 Memory allocation can be done
by malloc.
 For freeing the memory one has
to use free .
 Memory allocation can be done
by a new keyword .
 Compiler will do it internally by
calling the garbage collector
c Java
CALLING FUNCTIONALITY , VARIABLE DECALRATION &
KEYWORDS
 It supports call by value and call
be reference .
 Declaration of variables should
by at the beginning of the block .
 It has 32 keywords .
 It only supports the call by value .
 We can declare variables
anywhere through it is a good
practice to declare the variables
at the beginning of the block .
 It has 50 keywords .
JAVA
c
DIFFERENCE BETWEEN JAVA AND C
V
 It is based on Write Once Compile
Anywhere .
 C is only compiled and not interpreted .
 C has support for pointers .
 C follows a top-down approach .
 C is not a robust programming language .
S
 It is based on Write Once Run Anywhere
.
 Java is both compiled and interpreted .
 Java does not supports pointers .
 Java follows a bottom – up approach .
 Java is a robust programming language
as it has strong memory management
schemes .
C JAVA
C vs JAVA.pptx

More Related Content

What's hot

Introduction to oop
Introduction to oop Introduction to oop
Introduction to oop Kumar
 
Important features of java
Important features of javaImportant features of java
Important features of javaAL- AMIN
 
Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language Md. Imran Hossain Showrov
 
Evolutionary models
Evolutionary modelsEvolutionary models
Evolutionary modelsPihu Goel
 
All You Need to Know About Java – Advantages and Disadvantages
All You Need to Know About Java – Advantages and DisadvantagesAll You Need to Know About Java – Advantages and Disadvantages
All You Need to Know About Java – Advantages and Disadvantagescarolynebert3007
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of CompilerPreethi AKNR
 
Introduction to System Programming
Introduction to System ProgrammingIntroduction to System Programming
Introduction to System ProgrammingMeghaj Mallick
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentationAkhilesh Jaiswal
 
V model presentation
V model presentationV model presentation
V model presentationNiat Murad
 
Software development life cycle
Software development life cycleSoftware development life cycle
Software development life cycleA Subbiah
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languagespy7rjs
 
Real time and distributed design
Real time and distributed designReal time and distributed design
Real time and distributed designpriyapavi96
 
Object oriented programming interview questions
Object oriented programming interview questionsObject oriented programming interview questions
Object oriented programming interview questionsKeet Sugathadasa
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android StudioSuyash Srijan
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer ProgrammingHussain Buksh
 

What's hot (20)

Introduction to oop
Introduction to oop Introduction to oop
Introduction to oop
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
Procedural programming
Procedural programmingProcedural programming
Procedural programming
 
Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language
 
Core java
Core java Core java
Core java
 
Evolutionary models
Evolutionary modelsEvolutionary models
Evolutionary models
 
All You Need to Know About Java – Advantages and Disadvantages
All You Need to Know About Java – Advantages and DisadvantagesAll You Need to Know About Java – Advantages and Disadvantages
All You Need to Know About Java – Advantages and Disadvantages
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of Compiler
 
Introduction to System Programming
Introduction to System ProgrammingIntroduction to System Programming
Introduction to System Programming
 
Software Quality
Software QualitySoftware Quality
Software Quality
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentation
 
V model presentation
V model presentationV model presentation
V model presentation
 
Software development life cycle
Software development life cycleSoftware development life cycle
Software development life cycle
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Real time and distributed design
Real time and distributed designReal time and distributed design
Real time and distributed design
 
Object oriented programming interview questions
Object oriented programming interview questionsObject oriented programming interview questions
Object oriented programming interview questions
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android Studio
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
White box ppt
White box pptWhite box ppt
White box ppt
 
JAVA PPT Part-1 BY ADI.pdf
JAVA PPT Part-1 BY ADI.pdfJAVA PPT Part-1 BY ADI.pdf
JAVA PPT Part-1 BY ADI.pdf
 

Similar to C vs JAVA.pptx (20)

java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
 
Java Intro
Java IntroJava Intro
Java Intro
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
 
130700548484460000
130700548484460000130700548484460000
130700548484460000
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
 
Java part1
Java part1Java part1
Java part1
 
Java Programming Basics
Java Programming BasicsJava Programming Basics
Java Programming Basics
 
Presentación rs232 java
Presentación rs232 javaPresentación rs232 java
Presentación rs232 java
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
Java presentation
Java presentationJava presentation
Java presentation
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Features of Java.pptx
Features of Java.pptxFeatures of Java.pptx
Features of Java.pptx
 
INTRODUCTION TO JAVA.pptx
INTRODUCTION TO JAVA.pptxINTRODUCTION TO JAVA.pptx
INTRODUCTION TO JAVA.pptx
 
0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf
 
Java for C++ programers
Java for C++ programersJava for C++ programers
Java for C++ programers
 
Basics-Of-Java
Basics-Of-JavaBasics-Of-Java
Basics-Of-Java
 
Unit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdfUnit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdf
 
OOPS JAVA.pdf
OOPS JAVA.pdfOOPS JAVA.pdf
OOPS JAVA.pdf
 
Introducción a la progrogramación orientada a objetos con Java
Introducción a la progrogramación orientada a objetos con JavaIntroducción a la progrogramación orientada a objetos con Java
Introducción a la progrogramación orientada a objetos con Java
 

More from AmitSingh770691

Presentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptxPresentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptxAmitSingh770691
 
INTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptxINTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptxAmitSingh770691
 
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptxDSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptxAmitSingh770691
 
SE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptxSE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptxAmitSingh770691
 
FUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptxFUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptxAmitSingh770691
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxAmitSingh770691
 
PRESENTATION ON PYTHON.pptx
PRESENTATION ON PYTHON.pptxPRESENTATION ON PYTHON.pptx
PRESENTATION ON PYTHON.pptxAmitSingh770691
 

More from AmitSingh770691 (9)

Internet.pptx
Internet.pptxInternet.pptx
Internet.pptx
 
Presentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptxPresentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptx
 
INTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptxINTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptx
 
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptxDSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
 
SE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptxSE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptx
 
FUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptxFUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptx
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
 
CLOUD COMPUTING.pptx
CLOUD COMPUTING.pptxCLOUD COMPUTING.pptx
CLOUD COMPUTING.pptx
 
PRESENTATION ON PYTHON.pptx
PRESENTATION ON PYTHON.pptxPRESENTATION ON PYTHON.pptx
PRESENTATION ON PYTHON.pptx
 

Recently uploaded

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 

Recently uploaded (20)

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 

C vs JAVA.pptx

  • 1. OBJECT ORIENTED PROGRAMMING TOPIC – DIFFERENCE BETWEEN JAVA & C NAME – AVIK BOSE UNIVERSITY ROLL NO - 14501221084
  • 2. INRODUCTION  JAVA – Java is an object –oriented programming language that produces software for multiple platforms . When a programmer writes a Java application, the complied code (known as bytecode) runs on most operating systems (OS) , including Windows , Linux and MAC OS . Java derives much of its syntax from the C and C++ programming language  C – C is a powerful general –purpose programming language . It can be used to develop software like operating systems , databases , compilers and so on . C programming is language to learn program for beginners .
  • 3. HISTORY C was developed by Dennis M. Ritchie between 1969 and 1973 . C was originally developed for UNIX Operating Systems to beat the issues of previous language such as B , BCPL , ETC. Java was created at Sun Microsystems . It was originally designed for interactive television , but it was too advance technology for the digital cable industry at the time . The principles of Java programming were “Simple , Robust , Portable , Platform-independent , Secured , High Performance , Multi-threaded , Architecture Neutral , Object-Oriented , Interpreted and Dynamic” . Java is developed by JAMES GOSLING , who is known as father of java , in 1995 . Java developing was started in early 90s .
  • 4. KEY FEATURES OF JAVA  One of the most interesting and important features which Java supports is the WORA – Write Once Run Anywhere – features . Once compiled , Java code can be run on any computing platform . For example , if a code has been written on a MAC Operating system , the same code can be run on a WINDOWS Operating Systems without any trouble if the Windows operating system has JVM(Java Virtual Machine) installed on it .  Java is purely an Object-Oriented-Programming Language , that’s why , all Java codes are always written in the form of classes and objects .  Java is a multi-threaded language with automatic memory management . It has great features for garbage collection and is heavily used for distributed computing because of its network – centricity .  Java is dynamic and extensible .  Java is also secure and robust .
  • 5. KEY FEATURES OF C  C is a structured programming language that is extremely easy to learn .  It is an efficient programming language , it is fast and has very good performance .  C is a highly portable and extensible programming language because it is not tied to any hardware or systems . Any code written in C can be run on any machine which supports C , without modifying a single line a code .  C has a rich set of built-in Operators and libraries with functions .  C is modular and statically typed .  C is a Procedure Oriented Programming language (POPs) .  C is a high level language with low level features .
  • 6. LANGUAGE TYPE C language  C is a procedural programming language .  C is more procedure - oriented .  C is a middle – level language because binding of the gaps takes place between machine – level language and high – level languages . JAVA language  Java is an Object-Oriented language .  Java is more data-oriented .  Java is a high – level language because the translation of code takes place into machine language using a compiler or interpreter . c JAVA
  • 7. PROGAMMING PARADIGMS AND OBJECT MANAGEMENT  C is generally breaks down to functions .  It is more procedure oriented .  In C one has to manage object manually .  Java breaks down to Objects .  It is more data-oriented .  In Java object is automatically managed by the garbage collector . C language JAVA language
  • 8. MEMORY ALLOCATION  Memory allocation can be done by malloc.  For freeing the memory one has to use free .  Memory allocation can be done by a new keyword .  Compiler will do it internally by calling the garbage collector c Java
  • 9. CALLING FUNCTIONALITY , VARIABLE DECALRATION & KEYWORDS  It supports call by value and call be reference .  Declaration of variables should by at the beginning of the block .  It has 32 keywords .  It only supports the call by value .  We can declare variables anywhere through it is a good practice to declare the variables at the beginning of the block .  It has 50 keywords . JAVA c
  • 10. DIFFERENCE BETWEEN JAVA AND C V  It is based on Write Once Compile Anywhere .  C is only compiled and not interpreted .  C has support for pointers .  C follows a top-down approach .  C is not a robust programming language . S  It is based on Write Once Run Anywhere .  Java is both compiled and interpreted .  Java does not supports pointers .  Java follows a bottom – up approach .  Java is a robust programming language as it has strong memory management schemes . C JAVA