SlideShare a Scribd company logo
Object Oriented Programming in JAVA
Introduction       Welcome to the course Object Oriented Programming in JAVA. This course will cover a core set of computer science concepts needed to create a modern software application using Java. 9/14/2011 Object Oriented Programming using JAVA 2
Course Objectives On completion of this course we will be able to: Identify the importance of Java . Identify the additional features of Java compared to C++ . Identify the difference between Compiler and Interpreter . Identify the difference between applet and application . Apply Object Oriented Principles of Encapsulations, Data abstraction, Inheritance, Polymorphism.  Program using java API (Application Programming Interface). Program using Exception Handling, Files and Threads . Program Using applets and swings . 9/14/2011 Object Oriented Programming using JAVA 3
Course Syllabus  9/14/2011 Object Oriented Programming using JAVA 4
JAVA Basics
Why Javais Important  Two reasons : Trouble with C/C++ language is that they are not portable and are not platform independent languages. Emergence of World Wide Web, which demanded portable programs Portability and security necessitated the invention of Java
History James Gosling - Sun Microsystems Co founder – VinodKhosla Oak - Java, May 20, 1995, Sun World JDK Evolutions JDK 1.0 (January 23, 1996) JDK 1.1 (February 19, 1997) J2SE 1.2 (December 8, 1998) J2SE 1.3 (May 8, 2000) J2SE 1.4 (February 6, 2002) J2SE 5.0 (September 30, 2004) Java SE 6 (December 11, 2006) Java SE 7 (July 28, 2011)
Cont.. Java Editions. ,[object Object]
J2ME(Java 2 Micro Edition ) - to develop applications for mobile devices such as cell phones.
J2EE(Java 2 Enterprise Edition ) - to develop server-side applications such as Java servlets and Java ServerPages.,[object Object]
How is Java different from C… C  Language: Major difference is that C is a structure oriented languageand Java is an object oriented language and has mechanism to define classes and objects. Java does not support an explicit pointer type Java does not have preprocessor, so we cant use #define, #include and #ifdef statements. Java does not include structures, unions and enum data types. Java does not include keywords like goto, sizeof and typedef. Java adds labeled break and continue statements. Java adds many features required for object oriented programming.
How is Java different from C++… C++ language Features removed in java: ,[object Object]
Java does not include structures, unions and enum data types.
Java does not support operator over loading.
Preprocessor plays less important role in C++ and so eliminated entirely in java.
Java does not perform automatic type conversions that result in loss of precision.,[object Object]
Java does not allow default arguments.
Java does not support inheritance of multiple super classes by a sub class (i.e., multiple inheritance). This is accomplished by using ‘interface’ concept.
It is not possible to declare unsigned integers in java.
In java objects are passed by reference only. In C++ objects may be passed by value or reference.,[object Object]
C++ has a set of library functions that use a common header file. But java  replaces it with its own set of API classes.
It adds packages and interfaces.

More Related Content

What's hot

Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Saba Ameer
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java Ravi_Kant_Sahu
 
MULTI THREADING IN JAVA
MULTI THREADING IN JAVAMULTI THREADING IN JAVA
MULTI THREADING IN JAVA
VINOTH R
 
Applets
AppletsApplets
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Javascript
JavascriptJavascript
Javascript
Manav Prasad
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in javaTech_MX
 
Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core java
mahir jain
 
Java abstract class & abstract methods
Java abstract class & abstract methodsJava abstract class & abstract methods
Java abstract class & abstract methods
Shubham Dwivedi
 
Java awt (abstract window toolkit)
Java awt (abstract window toolkit)Java awt (abstract window toolkit)
Java awt (abstract window toolkit)
Elizabeth alexander
 
Java package
Java packageJava package
Java package
CS_GDRCST
 
Presentation on-exception-handling
Presentation on-exception-handlingPresentation on-exception-handling
Presentation on-exception-handling
Nahian Ahmed
 
Operators in java
Operators in javaOperators in java
Operators in java
Then Murugeshwari
 
Interface in java
Interface in javaInterface in java
Interface in java
PhD Research Scholar
 
Java Data Types
Java Data TypesJava Data Types
Java Data Types
Spotle.ai
 
Wrapper class
Wrapper classWrapper class
Wrapper class
kamal kotecha
 

What's hot (20)

Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
 
MULTI THREADING IN JAVA
MULTI THREADING IN JAVAMULTI THREADING IN JAVA
MULTI THREADING IN JAVA
 
Applets
AppletsApplets
Applets
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
JVM
JVMJVM
JVM
 
Javascript
JavascriptJavascript
Javascript
 
Features of java
Features of javaFeatures of java
Features of java
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in java
 
Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core java
 
Java abstract class & abstract methods
Java abstract class & abstract methodsJava abstract class & abstract methods
Java abstract class & abstract methods
 
Java awt (abstract window toolkit)
Java awt (abstract window toolkit)Java awt (abstract window toolkit)
Java awt (abstract window toolkit)
 
Java package
Java packageJava package
Java package
 
Presentation on-exception-handling
Presentation on-exception-handlingPresentation on-exception-handling
Presentation on-exception-handling
 
Strings in Java
Strings in JavaStrings in Java
Strings in Java
 
Operators in java
Operators in javaOperators in java
Operators in java
 
Interface in java
Interface in javaInterface in java
Interface in java
 
Java Data Types
Java Data TypesJava Data Types
Java Data Types
 
Wrapper class
Wrapper classWrapper class
Wrapper class
 

Viewers also liked

Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
jaimefrozr
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
Eduonix Learning Solutions
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
sunmitraeducation
 
Reactive Java EE - Let Me Count the Ways!
Reactive Java EE - Let Me Count the Ways!Reactive Java EE - Let Me Count the Ways!
Reactive Java EE - Let Me Count the Ways!
Reza Rahman
 
الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا
الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا
الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا
Nabeel Alalmai
 
مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1
مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1
مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1
Mahmoud Alfarra
 
Email And Voicemail
Email And VoicemailEmail And Voicemail
Email And Voicemailu083133
 
Voice based email for blinds
Voice based email for blindsVoice based email for blinds
Voice based email for blinds
Arjun AJ
 
Summer Training In Java
Summer Training In JavaSummer Training In Java
Summer Training In JavaDUCC Systems
 
Java Presentation
Java PresentationJava Presentation
Java Presentationaitrichtech
 
Core java report
Core java reportCore java report
Core java report
Sumit Jain
 
Java Servlets
Java ServletsJava Servlets
Java ServletsNitin Pai
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
BG Java EE Course
 
C#/.NET Little Wonders
C#/.NET Little WondersC#/.NET Little Wonders
C#/.NET Little Wonders
BlackRabbitCoder
 
Erms
ErmsErms
Academic student information management system.
Academic student information management system.Academic student information management system.
Academic student information management system.
Md. Al-Amin
 
Project on Student information management system
Project on Student information management systemProject on Student information management system
Project on Student information management system
REHAN IJAZ
 
Management information sysytem{MIS}
Management information sysytem{MIS}Management information sysytem{MIS}
Management information sysytem{MIS}
Bpn Dhungel
 

Viewers also liked (20)

Core java slides
Core java slidesCore java slides
Core java slides
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Java basic
Java basicJava basic
Java basic
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Reactive Java EE - Let Me Count the Ways!
Reactive Java EE - Let Me Count the Ways!Reactive Java EE - Let Me Count the Ways!
Reactive Java EE - Let Me Count the Ways!
 
الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا
الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا
الدرس 3 من #دورة_الجافا - الادوات اللازمة للبرمجة وطريقة عمل الجافا
 
مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1
مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1
مساق الخوارزميات والبرمجة بلغة جافا (1) مفاهيم الخوارزميات ج1
 
Email And Voicemail
Email And VoicemailEmail And Voicemail
Email And Voicemail
 
Voice based email for blinds
Voice based email for blindsVoice based email for blinds
Voice based email for blinds
 
Summer Training In Java
Summer Training In JavaSummer Training In Java
Summer Training In Java
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Core java report
Core java reportCore java report
Core java report
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
 
C#/.NET Little Wonders
C#/.NET Little WondersC#/.NET Little Wonders
C#/.NET Little Wonders
 
Erms
ErmsErms
Erms
 
Academic student information management system.
Academic student information management system.Academic student information management system.
Academic student information management system.
 
Project on Student information management system
Project on Student information management systemProject on Student information management system
Project on Student information management system
 
Management information sysytem{MIS}
Management information sysytem{MIS}Management information sysytem{MIS}
Management information sysytem{MIS}
 

Similar to Introduction to java

Introduction to java
Introduction to java Introduction to java
Introduction to java
princeirfancivil
 
Java. converted (2)
Java. converted (2)Java. converted (2)
Java. converted (2)
AVINASHMEHRA6
 
java tutorial for beginner - Free Download
java tutorial for beginner - Free Downloadjava tutorial for beginner - Free Download
java tutorial for beginner - Free Download
TIB Academy
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
javeed_mhd
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
sanjay joshi
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Phaniu
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
javeed_mhd
 
Java Basics
Java BasicsJava Basics
Java Basics
Khan625
 
Java in Mule
Java in MuleJava in Mule
Java in Mule
Shahid Shaik
 
Java Basics in Mule
Java Basics in MuleJava Basics in Mule
Java Basics in Mule
Rajkattamuri
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Professional Guru
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Professional Guru
 
Java Fundamentals in Mule
Java Fundamentals in MuleJava Fundamentals in Mule
Java Fundamentals in Mule
Anand kalla
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
DevaKumari Vijay
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
sanjay joshi
 
Java seminar
Java seminarJava seminar
Java seminar
devendrakhairwa
 
Java chapter 1
Java   chapter 1Java   chapter 1
Java chapter 1
Mukesh Tekwani
 
Java Notes .pdf
Java Notes .pdfJava Notes .pdf
Java Notes .pdf
gokulprasanna4
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
siragezeynu
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
vikasbagra9887
 

Similar to Introduction to java (20)

Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java. converted (2)
Java. converted (2)Java. converted (2)
Java. converted (2)
 
java tutorial for beginner - Free Download
java tutorial for beginner - Free Downloadjava tutorial for beginner - Free Download
java tutorial for beginner - Free Download
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Java in Mule
Java in MuleJava in Mule
Java in Mule
 
Java Basics in Mule
Java Basics in MuleJava Basics in Mule
Java Basics in Mule
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Java Fundamentals in Mule
Java Fundamentals in MuleJava Fundamentals in Mule
Java Fundamentals in Mule
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java seminar
Java seminarJava seminar
Java seminar
 
Java chapter 1
Java   chapter 1Java   chapter 1
Java chapter 1
 
Java Notes .pdf
Java Notes .pdfJava Notes .pdf
Java Notes .pdf
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 

Recently uploaded

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
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
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
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
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
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
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
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 

Recently uploaded (20)

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)
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
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 -...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
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
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
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
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 

Introduction to java

  • 2. Introduction Welcome to the course Object Oriented Programming in JAVA. This course will cover a core set of computer science concepts needed to create a modern software application using Java. 9/14/2011 Object Oriented Programming using JAVA 2
  • 3. Course Objectives On completion of this course we will be able to: Identify the importance of Java . Identify the additional features of Java compared to C++ . Identify the difference between Compiler and Interpreter . Identify the difference between applet and application . Apply Object Oriented Principles of Encapsulations, Data abstraction, Inheritance, Polymorphism. Program using java API (Application Programming Interface). Program using Exception Handling, Files and Threads . Program Using applets and swings . 9/14/2011 Object Oriented Programming using JAVA 3
  • 4. Course Syllabus 9/14/2011 Object Oriented Programming using JAVA 4
  • 6. Why Javais Important Two reasons : Trouble with C/C++ language is that they are not portable and are not platform independent languages. Emergence of World Wide Web, which demanded portable programs Portability and security necessitated the invention of Java
  • 7. History James Gosling - Sun Microsystems Co founder – VinodKhosla Oak - Java, May 20, 1995, Sun World JDK Evolutions JDK 1.0 (January 23, 1996) JDK 1.1 (February 19, 1997) J2SE 1.2 (December 8, 1998) J2SE 1.3 (May 8, 2000) J2SE 1.4 (February 6, 2002) J2SE 5.0 (September 30, 2004) Java SE 6 (December 11, 2006) Java SE 7 (July 28, 2011)
  • 8.
  • 9. J2ME(Java 2 Micro Edition ) - to develop applications for mobile devices such as cell phones.
  • 10.
  • 11. How is Java different from C… C Language: Major difference is that C is a structure oriented languageand Java is an object oriented language and has mechanism to define classes and objects. Java does not support an explicit pointer type Java does not have preprocessor, so we cant use #define, #include and #ifdef statements. Java does not include structures, unions and enum data types. Java does not include keywords like goto, sizeof and typedef. Java adds labeled break and continue statements. Java adds many features required for object oriented programming.
  • 12.
  • 13. Java does not include structures, unions and enum data types.
  • 14. Java does not support operator over loading.
  • 15. Preprocessor plays less important role in C++ and so eliminated entirely in java.
  • 16.
  • 17. Java does not allow default arguments.
  • 18. Java does not support inheritance of multiple super classes by a sub class (i.e., multiple inheritance). This is accomplished by using ‘interface’ concept.
  • 19. It is not possible to declare unsigned integers in java.
  • 20.
  • 21. C++ has a set of library functions that use a common header file. But java replaces it with its own set of API classes.
  • 22. It adds packages and interfaces.
  • 23. Java supports automatic garbage collection.
  • 24. break and continue statements have been enhanced in java to accept labels as targets.
  • 25.
  • 26. Java has replacedthe destructor function with a finalize() function.
  • 27.
  • 28. Java Environment Java includes many development tools, classes and methods Development tools are part of Java Development Kit (JDK) and The classes and methods are part of Java Standard Library (JSL), also known as Application Programming Interface(API). JDK constitutes of tools like java compiler, java interpreter and many. API includes hundreds of classes and methods grouped into several packages according to their functionality.
  • 29. Java is architecture-neutral 9/14/2011 Object Oriented Programming using JAVA 17 JAVA Program Execution
  • 30. WORA(Write Once Run Anywhere) 9/14/2011 Object Oriented Programming using JAVA 18
  • 31. Editplus for Java Programming Edit Plus Software: EditPlus is a 32-bit text editor for the Microsoft Windows operating system. The editor contains tools for programmers, including syntax highlighting (and support for custom syntax files), file type conversions, line ending conversion (between Linux, Windows and Mac styles), regular expressions for search-and-replace, spell check etc). 9/14/2011 Object Oriented Programming using JAVA 19
  • 32. Hello world Program in java 9/14/2011 Object Oriented Programming using JAVA 20
  • 33. Execution of Hello world Program 9/14/2011 Object Oriented Programming using JAVA 21
  • 34. 9/14/2011 Object Oriented Programming using JAVA 22 Thank you