Java is a general-purpose, class-based, object-oriented programming language designed for having lesser implementation dependencies. It is a computing platform for application development. Java is fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.
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.
3. What is java
● A general-purpose object-oriented language
● Write Once Run Anywhere
● Designed For Easy Web/Internet Application
● Widespread acceptance.
4. Course Objectives
On completion of this course we will be able to
1. Identify the importance of Java.
2. Identify the additional features of Java compared to C++.
3. Identify the difference between Compiler and Interpreter.
4. Identify the difference between applet and application.
5. Apply Object Oriented Principles of Encapsulations, Data abstraction,
Inheritance, Polymorphism.
6. Program using java API (Application Programming Interface).
7. Program using Exception Handling, Files and Threads .
8. Program Using applets and swings .
9. Object Oriented Programming using JAVA
5. Course Content
Unit 1 Basics of java
Unit 2 Inheritance
Unit 3 Data structured creation and manipulation in java
Unit 4 Exception Handling
Unit 5 GUI Programming in java
6. Why java is 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
programming
● Portability and security necessitated the invention of Java
7. History of java
● James gosling - microsystem
● 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)
9. ADVANTAGE
● Java is easy to learn.
● Java is object-oriented.
● Java is platform-independent.
10. DISADVANTAGE
● Java is slow and has a poor performance. Java is memory-consuming and
significantly slower than native languages such as C or C++. ...
● Java provides not so attractive look and feels of the GUI. ...
● Java provides no backup facility. ...
● Java requires significant memory space. ...
● Verbose and Complex codes.