SlideShare a Scribd company logo
Presentation On:-    JAVA & C++  PUNJAB COLLEGE OF TECHNICAL EDUCATION
What is Java? ,[object Object],[object Object],[object Object]
HISTORY  ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],Continues………..
Founder Of JAVA ,[object Object],[object Object],[object Object]
Principles of Java ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Java Virtual Machine ,[object Object],[object Object],[object Object]
Java Execution Environment ,[object Object],[object Object],[object Object]
Cross Platform Compiler ,[object Object],[object Object],[object Object]
What is c++ language? ,[object Object],[object Object]
History ,[object Object],[object Object],[object Object]
Founder Of C++ ,[object Object],[object Object],[object Object]
Features of C++ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Difference Between C++ & Java C++ JAVA Compatible with C source code, except for a few corner cases. No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++. Write once compile anywhere (WOCA) Write once run anywhere / everywhere (WORA / WORE) Allows procedural programming, object-oriented programming, and generic programming. Strongly encourages an object oriented programming paradigm.
C++ JAVA Allows direct calls to native system libraries. Call through the Java Native Interface and recently Java Native Access. Exposes low-level system facilities. Runs in a protected virtual machine Only provides object types and type names. Is reflective, allowing metaprogramming and dynamic code generation at runtime. Has multiple binary compatibility standards (commonly Microsoft and Itanium/GNU) Has a binary compatibility standard, allowing runtime check of correctness of libraries.
C++ JAVA Optional automated bounds checking. (e.g. the at() method invector and string containers) Normally performs bounds checking. HotSpotcan remove bounds checking. Standardized minimum limits for all numerical types, but the actual sizes are implementation-defined. Standardized limits and sizes of all primitive types on all platforms Pointers, References, and pass by value are supported Primitive and reference data types always passed by value
C++ JAVA Supports class, struck, and union and can allocate them on heap or stack Supports only class and allocates them on the heap.  Allows explicitly ove rriding types. Rigid type safety except for widening conversions. Autoboxing/Unboxing added in Java. Operator overloading for most operators The meaning of operators is generally immutable, however the + and += operators have been overloaded for Strings.
C++ JAVA Full multiple inheritance, including virtual inheritance. Single inheritance only from classes, multiple from interfaces Compile time Templates Generics are used to achieve an analogous effect to C++ templates, however they do not translate from source code to byte code due to the use of Type Erasure by the compiler. Function pointers, function objects, lambdas (in C++0x) and interfaces No function pointer mechanism. Instead idioms such as Interfaces, Adapters and Listeners are extensively used. No standard inline documentation mechanism. 3rd party software (e.g. Doxygen) exists. Javadoc standard documentation
C++ JAVA const keyword for defining immutable variables and member functions that do not change the object. final provides a limited version of const, equivalent to type*const pointers for objects and plain const of primitive types only. No const member functions, nor any equivalent to const type* pointers. Supports the goto statement. Supports labels with loops and statement blocks.
[object Object],[object Object],[object Object],Presented To:- Mr. Rahul Dabral FACULTY PCTE Presented By:- Ankur Bhalla Simranjeet Singh Harshdeep Singh Hardyal Singh BCA 3D

More Related Content

What's hot

Java vs .net (beginners)
Java vs .net (beginners)Java vs .net (beginners)
Java vs .net (beginners)
Ravi Vishwakarma
 
Java vs .net
Java vs .netJava vs .net
Java vs .netTech_MX
 
Technologies of today
Technologies of todayTechnologies of today
Technologies of today
kagecat
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
Quontra Solutions
 
PIL - A Platform Independent Language
PIL - A Platform Independent LanguagePIL - A Platform Independent Language
PIL - A Platform Independent Language
zefhemel
 
What is-java
What is-javaWhat is-java
What is-java
Shahid Rasheed
 
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTHWEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Bhavsingh Maloth
 
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
yazad dumasia
 
Swift language seminar topic
Swift language seminar topicSwift language seminar topic
Swift language seminar topic
Hyacinth Okeke
 
Web Programming UNIT VIII notes
Web Programming UNIT VIII notesWeb Programming UNIT VIII notes
Web Programming UNIT VIII notes
Bhavsingh Maloth
 
Presentation1
Presentation1Presentation1
Presentation1kpkcsc
 
C++ vs java which is best for future
C++ vs java which is best for futureC++ vs java which is best for future
C++ vs java which is best for future
calltutors
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutions
QUONTRASOLUTIONS
 
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
citizenmatt
 
.Net Framework Introduction
.Net Framework Introduction.Net Framework Introduction
.Net Framework Introduction
Abhishek Sahu
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
Mohammad Faizan
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet frameworkNitu Pandey
 

What's hot (19)

Java vs .net (beginners)
Java vs .net (beginners)Java vs .net (beginners)
Java vs .net (beginners)
 
Java vs .net
Java vs .netJava vs .net
Java vs .net
 
Technologies of today
Technologies of todayTechnologies of today
Technologies of today
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
PIL - A Platform Independent Language
PIL - A Platform Independent LanguagePIL - A Platform Independent Language
PIL - A Platform Independent Language
 
What is-java
What is-javaWhat is-java
What is-java
 
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTHWEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
 
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
 
Swift language seminar topic
Swift language seminar topicSwift language seminar topic
Swift language seminar topic
 
Web Programming UNIT VIII notes
Web Programming UNIT VIII notesWeb Programming UNIT VIII notes
Web Programming UNIT VIII notes
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
Presentation1
Presentation1Presentation1
Presentation1
 
Net framework
Net frameworkNet framework
Net framework
 
C++ vs java which is best for future
C++ vs java which is best for futureC++ vs java which is best for future
C++ vs java which is best for future
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutions
 
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
 
.Net Framework Introduction
.Net Framework Introduction.Net Framework Introduction
.Net Framework Introduction
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
 

Viewers also liked

C programmimng basic.ppt
C programmimng basic.pptC programmimng basic.ppt
C programmimng basic.ppt
ASIT Education
 
BQC Aug 2012
BQC Aug 2012BQC Aug 2012
BQC Aug 2012
Vibhendu Tewari
 
Monomios y polinomios
Monomios y polinomiosMonomios y polinomios
Monomios y polinomiosMalenny01
 
in.pulso Marketing
in.pulso Marketingin.pulso Marketing
in.pulso Marketing
in.pulso marketing
 
Colección Noche 2009 - Astrid A Urban Afrowear
Colección Noche 2009 - Astrid A Urban AfrowearColección Noche 2009 - Astrid A Urban Afrowear
Colección Noche 2009 - Astrid A Urban AfrowearUrbanAfrowear
 
Effective Writing
Effective Writing Effective Writing
Effective Writing
Aira Grace Atabay
 
Retail Design by Tess Krüs
Retail Design by Tess KrüsRetail Design by Tess Krüs
Retail Design by Tess Krüs
Tess Krüs
 
00 fbs reader fm
00 fbs reader fm00 fbs reader fm
00 fbs reader fmDaniel Gold
 
Participating Camps
Participating CampsParticipating Camps
Participating CampsJaturpin
 
программа воспитания гуманных отношений среди подростков и молодежи
программа воспитания гуманных отношений среди подростков и молодежипрограмма воспитания гуманных отношений среди подростков и молодежи
программа воспитания гуманных отношений среди подростков и молодежиDemanessa
 
Nutrition for Injury Prevention
Nutrition for Injury PreventionNutrition for Injury Prevention
Nutrition for Injury Prevention
DrCate.com
 
Wie konnen Sie Fax mit iPhone senden
Wie konnen Sie Fax mit iPhone sendenWie konnen Sie Fax mit iPhone senden
Wie konnen Sie Fax mit iPhone senden
Johnny Snowie
 
Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932
Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932
Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932
Imran
 
Sesión 2 taller negociando como un profesional capitalizarme
Sesión 2 taller negociando como un profesional   capitalizarmeSesión 2 taller negociando como un profesional   capitalizarme
Sesión 2 taller negociando como un profesional capitalizarme
Consultora Frismo Ltda
 
регламент работы на сайте
регламент работы на сайтерегламент работы на сайте
регламент работы на сайтеDemanessa
 
How to see the badi
How to see the badiHow to see the badi
How to see the badi
Hashim sabu
 

Viewers also liked (20)

C programmimng basic.ppt
C programmimng basic.pptC programmimng basic.ppt
C programmimng basic.ppt
 
Public speaking
Public speakingPublic speaking
Public speaking
 
BQC Aug 2012
BQC Aug 2012BQC Aug 2012
BQC Aug 2012
 
Dierle nunes e a bahia revista iob - renovado paradigma
Dierle nunes e a bahia   revista iob - renovado paradigmaDierle nunes e a bahia   revista iob - renovado paradigma
Dierle nunes e a bahia revista iob - renovado paradigma
 
Monomios y polinomios
Monomios y polinomiosMonomios y polinomios
Monomios y polinomios
 
in.pulso Marketing
in.pulso Marketingin.pulso Marketing
in.pulso Marketing
 
Colección Noche 2009 - Astrid A Urban Afrowear
Colección Noche 2009 - Astrid A Urban AfrowearColección Noche 2009 - Astrid A Urban Afrowear
Colección Noche 2009 - Astrid A Urban Afrowear
 
Effective Writing
Effective Writing Effective Writing
Effective Writing
 
Retail Design by Tess Krüs
Retail Design by Tess KrüsRetail Design by Tess Krüs
Retail Design by Tess Krüs
 
00 fbs reader fm
00 fbs reader fm00 fbs reader fm
00 fbs reader fm
 
Participating Camps
Participating CampsParticipating Camps
Participating Camps
 
программа воспитания гуманных отношений среди подростков и молодежи
программа воспитания гуманных отношений среди подростков и молодежипрограмма воспитания гуманных отношений среди подростков и молодежи
программа воспитания гуманных отношений среди подростков и молодежи
 
Nutrition for Injury Prevention
Nutrition for Injury PreventionNutrition for Injury Prevention
Nutrition for Injury Prevention
 
Wie konnen Sie Fax mit iPhone senden
Wie konnen Sie Fax mit iPhone sendenWie konnen Sie Fax mit iPhone senden
Wie konnen Sie Fax mit iPhone senden
 
Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932
Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932
Gerakan Tauhid dan Sejarah Pembentukan KSA dari 1703-1932
 
ナレーション
ナレーションナレーション
ナレーション
 
Sesión 2 taller negociando como un profesional capitalizarme
Sesión 2 taller negociando como un profesional   capitalizarmeSesión 2 taller negociando como un profesional   capitalizarme
Sesión 2 taller negociando como un profesional capitalizarme
 
Yrflvr
YrflvrYrflvr
Yrflvr
 
регламент работы на сайте
регламент работы на сайтерегламент работы на сайте
регламент работы на сайте
 
How to see the badi
How to see the badiHow to see the badi
How to see the badi
 

Similar to Introduction to java new

Core Java
Core JavaCore Java
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...
Mr. Akaash
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
AmitSingh770691
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
Qualys
 
Java1
Java1Java1
Java
Java Java
Java Intro
Java IntroJava Intro
Java Intro
Nazmul Hasan Rupok
 
Corejava
Corejava Corejava
Corejava
Harshit Sachdeva
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdf
AdiseshaK
 
Java Programming
Java ProgrammingJava Programming
Java Programming
Prof. Dr. K. Adisesha
 
JAVA introduction and basic understanding.pptx
JAVA  introduction and basic understanding.pptxJAVA  introduction and basic understanding.pptx
JAVA introduction and basic understanding.pptx
prstsomnath22
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
vmadan89
 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
AmitSingh770691
 
Unit 1 of java part 1 basic introduction akr
Unit 1 of java part 1 basic introduction akrUnit 1 of java part 1 basic introduction akr
Unit 1 of java part 1 basic introduction akr
AKR Education
 
Copmuter Languages
Copmuter LanguagesCopmuter Languages
Copmuter Languages
actanimation
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
WE-IT TUTORIALS
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
RahulAnand111531
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
Harsha Batra
 

Similar to Introduction to java new (20)

OOPS JAVA.pdf
OOPS JAVA.pdfOOPS JAVA.pdf
OOPS JAVA.pdf
 
Core Java
Core JavaCore Java
Core Java
 
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...
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
Java Intro
Java IntroJava Intro
Java Intro
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Corejava
Corejava Corejava
Corejava
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdf
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
JAVA introduction and basic understanding.pptx
JAVA  introduction and basic understanding.pptxJAVA  introduction and basic understanding.pptx
JAVA introduction and basic understanding.pptx
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
 
Unit 1 of java part 1 basic introduction akr
Unit 1 of java part 1 basic introduction akrUnit 1 of java part 1 basic introduction akr
Unit 1 of java part 1 basic introduction akr
 
Copmuter Languages
Copmuter LanguagesCopmuter Languages
Copmuter Languages
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 

Recently uploaded

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

Introduction to java new

  • 1. Presentation On:- JAVA & C++ PUNJAB COLLEGE OF TECHNICAL EDUCATION
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Difference Between C++ & Java C++ JAVA Compatible with C source code, except for a few corner cases. No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++. Write once compile anywhere (WOCA) Write once run anywhere / everywhere (WORA / WORE) Allows procedural programming, object-oriented programming, and generic programming. Strongly encourages an object oriented programming paradigm.
  • 15. C++ JAVA Allows direct calls to native system libraries. Call through the Java Native Interface and recently Java Native Access. Exposes low-level system facilities. Runs in a protected virtual machine Only provides object types and type names. Is reflective, allowing metaprogramming and dynamic code generation at runtime. Has multiple binary compatibility standards (commonly Microsoft and Itanium/GNU) Has a binary compatibility standard, allowing runtime check of correctness of libraries.
  • 16. C++ JAVA Optional automated bounds checking. (e.g. the at() method invector and string containers) Normally performs bounds checking. HotSpotcan remove bounds checking. Standardized minimum limits for all numerical types, but the actual sizes are implementation-defined. Standardized limits and sizes of all primitive types on all platforms Pointers, References, and pass by value are supported Primitive and reference data types always passed by value
  • 17. C++ JAVA Supports class, struck, and union and can allocate them on heap or stack Supports only class and allocates them on the heap.  Allows explicitly ove rriding types. Rigid type safety except for widening conversions. Autoboxing/Unboxing added in Java. Operator overloading for most operators The meaning of operators is generally immutable, however the + and += operators have been overloaded for Strings.
  • 18. C++ JAVA Full multiple inheritance, including virtual inheritance. Single inheritance only from classes, multiple from interfaces Compile time Templates Generics are used to achieve an analogous effect to C++ templates, however they do not translate from source code to byte code due to the use of Type Erasure by the compiler. Function pointers, function objects, lambdas (in C++0x) and interfaces No function pointer mechanism. Instead idioms such as Interfaces, Adapters and Listeners are extensively used. No standard inline documentation mechanism. 3rd party software (e.g. Doxygen) exists. Javadoc standard documentation
  • 19. C++ JAVA const keyword for defining immutable variables and member functions that do not change the object. final provides a limited version of const, equivalent to type*const pointers for objects and plain const of primitive types only. No const member functions, nor any equivalent to const type* pointers. Supports the goto statement. Supports labels with loops and statement blocks.
  • 20.