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

Yourprezisistemamuscular
YourprezisistemamuscularYourprezisistemamuscular
YourprezisistemamuscularAniuska Jimenez
 
民法概要考古題201209
民法概要考古題201209民法概要考古題201209
民法概要考古題201209Ted Kuo
 
Global South Development Magazine March 2010
Global South Development Magazine  March 2010Global South Development Magazine  March 2010
Global South Development Magazine March 2010globalsouth
 
What conscience is not
What conscience is notWhat conscience is not
What conscience is notRay Alvarez
 
Al qaeda summative
Al qaeda summativeAl qaeda summative
Al qaeda summativeBenMcc9
 
A spacious bungalow with additional buildings
A spacious bungalow with additional buildingsA spacious bungalow with additional buildings
A spacious bungalow with additional buildingsCarl Custav
 
Manolo hugué
Manolo huguéManolo hugué
Manolo huguéreixac5
 
Disk to Disk to Cloud Backup in 10 Minutes
Disk to Disk to Cloud Backup in 10 MinutesDisk to Disk to Cloud Backup in 10 Minutes
Disk to Disk to Cloud Backup in 10 MinutesSmartDataCloud
 
Brain injury and mental health 2010[1].pptx bisno
Brain injury and mental health 2010[1].pptx bisnoBrain injury and mental health 2010[1].pptx bisno
Brain injury and mental health 2010[1].pptx bisnoMrFattman
 
метод.то
метод.тометод.то
метод.то
Demanessa
 
Berlino Dicembre 2011
Berlino Dicembre 2011Berlino Dicembre 2011
Berlino Dicembre 2011Matera2019
 
CRW Holiday Slide
CRW Holiday SlideCRW Holiday Slide
CRW Holiday Slidemketterman1
 
презентация к выступлению
презентация к выступлениюпрезентация к выступлению
презентация к выступлениюDemanessa
 

Viewers also liked (20)

IS1323 08-Modulasi
IS1323   08-ModulasiIS1323   08-Modulasi
IS1323 08-Modulasi
 
Yourprezisistemamuscular
YourprezisistemamuscularYourprezisistemamuscular
Yourprezisistemamuscular
 
民法概要考古題201209
民法概要考古題201209民法概要考古題201209
民法概要考古題201209
 
Global South Development Magazine March 2010
Global South Development Magazine  March 2010Global South Development Magazine  March 2010
Global South Development Magazine March 2010
 
What conscience is not
What conscience is notWhat conscience is not
What conscience is not
 
Al qaeda summative
Al qaeda summativeAl qaeda summative
Al qaeda summative
 
A spacious bungalow with additional buildings
A spacious bungalow with additional buildingsA spacious bungalow with additional buildings
A spacious bungalow with additional buildings
 
Manolo hugué
Manolo huguéManolo hugué
Manolo hugué
 
Disk to Disk to Cloud Backup in 10 Minutes
Disk to Disk to Cloud Backup in 10 MinutesDisk to Disk to Cloud Backup in 10 Minutes
Disk to Disk to Cloud Backup in 10 Minutes
 
Document
DocumentDocument
Document
 
Chemerys
ChemerysChemerys
Chemerys
 
Brain injury and mental health 2010[1].pptx bisno
Brain injury and mental health 2010[1].pptx bisnoBrain injury and mental health 2010[1].pptx bisno
Brain injury and mental health 2010[1].pptx bisno
 
метод.то
метод.тометод.то
метод.то
 
Visual resume 2
Visual resume 2Visual resume 2
Visual resume 2
 
Berlino Dicembre 2011
Berlino Dicembre 2011Berlino Dicembre 2011
Berlino Dicembre 2011
 
Best Pet Photo Contest
Best Pet Photo ContestBest Pet Photo Contest
Best Pet Photo Contest
 
Rethinking education2
Rethinking education2Rethinking education2
Rethinking education2
 
CRW Holiday Slide
CRW Holiday SlideCRW Holiday Slide
CRW Holiday Slide
 
Stypendium do wyboru
Stypendium do wyboruStypendium do wyboru
Stypendium do wyboru
 
презентация к выступлению
презентация к выступлениюпрезентация к выступлению
презентация к выступлению
 

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

Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
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
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
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
 
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
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
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
 
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
 
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
 
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
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
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
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 

Recently uploaded (20)

Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
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...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
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
 
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
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
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
 
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
 
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...
 
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...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
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
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 

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.