[go: up one dir, main page]

0% found this document useful (0 votes)
66 views14 pages

CSCP 363: Object Oriented Programming in Java I

1. The document provides an introduction to Object Oriented Programming in Java including what Java is, its history and applications, the basics of OOP, and the tools needed for the course. 2. Java is an object-oriented, high-level programming language originally developed by Sun Microsystems and now owned by Oracle. It can be used to create a variety of applications including desktop, web, mobile, and enterprise applications. 3. The document outlines the core concepts of OOP including objects, classes, inheritance, polymorphism, abstraction, and encapsulation and notes that everything in Java is an object.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views14 pages

CSCP 363: Object Oriented Programming in Java I

1. The document provides an introduction to Object Oriented Programming in Java including what Java is, its history and applications, the basics of OOP, and the tools needed for the course. 2. Java is an object-oriented, high-level programming language originally developed by Sun Microsystems and now owned by Oracle. It can be used to create a variety of applications including desktop, web, mobile, and enterprise applications. 3. The document outlines the core concepts of OOP including objects, classes, inheritance, polymorphism, abstraction, and encapsulation and notes that everything in Java is an object.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

CHRISTIAN SERVICE UNIVERSITY COLLEGE,

KUMASI

CSCP 363

OBJECT ORIENTED PROGRAMMING


IN JAVA I
Lecture 1: Introduction to OOP in Java

Mr Evans Obu
Content
• What is Java?
• History
• Application of Java
• Object Oriented Programming
• Tools needed for the course
What is Java?
• Java is a programming language and a platform.

• Java is a high level, robust, object-oriented and


secure programming language.
Father of Java:
James Gosling
• Developed in 1995 by Sun Microsystems (which is
now the subsidiary of Oracle).
What is Java?
Java

A Platform: Any hardware or software environment in A Programming Language: It provides a


which a program runs, is known as a platform. Since Java set of tools for writing other computer
has a runtime environment (JRE) and API, it is called a programs
platform.
Where can Java be Applied?
• According to Sun, 3 billion devices run Java. There are many devices where Java is
currently used. Some of them are as follows:

oDesktop Applications such as acrobat reader, media player, antivirus, etc.


oWeb Applications such as irctc.co.in, javatpoint.com, etc.
oEnterprise Applications such as banking applications.
oMobile
oEmbedded System
oSmart Card
oRobotics
oGames, etc.
History of Java
• History
• It was previously called Greentalk, then OAK, and later changed to Java because OAK had been
registered by another company.
• Visit https://youtu.be/DcQPtlFlgzY to watch a concise history about java.
• Read more on the history of Java from https://www.javatpoint.com/history-of-java

• Features
• The principles for creating Java programming were "Simple, Robust, Portable, Platform-independent, Secured,
High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic“

• Visit https://youtu.be/O5hShUO6wxs for more features on Java.


• Read more on the features from https://www.javatpoint.com/features-of-java
Java Versions
• Many java versions have been released till now. The current stable release of Java is Java SE 10.
• JDK Alpha and Beta (1995)
• JDK 1.0 (23rd Jan 1996)
• JDK 1.1 (19th Feb 1997)
• J2SE 1.2 (8th Dec 1998)
• J2SE 1.3 (8th May 2000)
• J2SE 1.4 (6th Feb 2002)
• J2SE 5.0 (30th Sep 2004)
• Java SE 6 (11th Dec 2006)
• Java SE 7 (28th July 2011)
• Java SE 8 (18th Mar 2014)
• Java SE 9 (21st Sep 2017)
• Java SE 10 (20th Mar 2018)
• Java SE 11 (Upcoming – Currently open for bug fixing)
Types of Java Applications
• There are 4 main types of applications that can be
created using Java programming:

1. Standalone Application
• Standalone applications are also known as desktop
applications or window-based applications. These are
traditional software that we need to install on every machine.
Examples of standalone application are Media player,
antivirus, etc. AWT and Swing are used in Java for creating
standalone applications.
Types of Java Applications cont…
2. Web Application
• An application that runs on the server side and creates a dynamic page is called a web application. Currently, 
Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating web applications in Java.

3. Enterprise Application
• An application that is distributed in nature, such as banking applications, etc. is called enterprise application.
It has advantages of the high-level security, load balancing, and clustering. In Java, EJB is used for creating
enterprise applications.

4. Mobile Application
• An application which is created for mobile devices is called a mobile application. Currently, Android and Java
ME are used for creating mobile applications.
JAVA PLATFORMS/EDITIONS
• There are 4 platforms or editions of Java:
1. Java SE (Java Standard Edition)
• JSE includes Java programming APIs such as java.lang, java.io, java.net, java.util,
java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception,
Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection,
Collection, etc.

2. Java EE (Java Enterprise Edition)


• It is an enterprise platform which is mainly used to develop web and enterprise
applications. It is built on the top of the Java SE platform. It includes topics like
Servlet, JSP, Web Services, EJB, JPA, etc.
JAVA PLATFORMS/EDITIONS (cont..)
3. Java ME (Java Micro Edition)
• It is a micro platform which is mainly used to develop mobile applications.

4. JavaFX
• It is used to develop rich internet applications. It uses a light-weight user
interface API.
OBJECT ORIENTED PROGRAMMING (OOP)
• Java is an object-oriented programming language. Everything in Java is an object. Object-oriented means we
organize our software as a combination of different types of objects that incorporates both data and
behavior.

• Object-oriented programming (OOPs) is a methodology that simplifies software development and


maintenance by providing some rules.

• Basic concepts of OOPs are:


• Object
• Class
• Inheritance
• Polymorphism
• Abstraction
• Encapsulation
Tools needed for this Course
An IDE (Eg: Netbeans, Eclipse, IntelliJ IDEA Community Edition
etc.)

JDK(Java Development Kit)


Includes the necessary Java Compiler, the Java Runtime
Environment(JRE), and the Java APIs. It will help you get started with
Java.

Install and register for Code Gym (https://codegym.cc/)


• You can install the app version from Google Playstore
THANK YOU

CHRISTIAN SERVICE UNIVERSITY COLLEGE,


KUMASI

You might also like