0% found this document useful (0 votes)
20 views

Lecture 1

Kushagra Agrawal

Uploaded by

Pratham Sood
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)
20 views

Lecture 1

Kushagra Agrawal

Uploaded by

Pratham Sood
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/ 19

UNIVERSITY INSTITUTE OF ENGINEERING

DEPARTMENT OF AIT - CSE


Bachelor of Engineering (CSE)
Programming in Java (21CSH-244)
By: Kushagra Agrawal (E13465)

Lecture -1 DISCOVER . LEARN . EMPOWER


Introduction to JAVA
Chapter Course Objectives

● To understand the about the JAVA


1. ● To understand the application of JAVA
● To aware about of JDK environment

Chapter Course Outcomes

After completion of this course, student will be able to


● Learn the basic objectives of JAVA..
1. ● features and applications of JAVA.
● Aware about the environment of JAVA

2
Syllabus of Programming in JAVA
Programming in Java L T P C
Total Contact Hours : 45Hours
3 0 0 3
Subject Code Common to all Specializations of CSE 3 rd Year
Prerequisite: Studied C/C++ in previous semesters
CST-208

Marks-100
Internal-60 External-40

UNIT - I
Introduction to Procedural Programming, Object-Oriented Programming, Features to Java Programming Language, JVM, Data types, Variables,
Array, Operators, Control Statements, Classes and Object, Inheritance, final, Dynamic method dispatch ,Package and Interfaces.
UNIT - II
Exception Handling ,Multithread and Synchronization, Wrapper classes, I/O Streams(with NIO),File Handing and Serialization, Concrete class,
Generics classes , Collections Interface and Classes, Strings & String Buffer ,Utility Classes , Networking classes and Interfaces , TCP/IP Client/Server
socket.
UNIT - III
Event Handling ,AWT, Swings, Java Beans(getter-setter methods), Java Servlet (Servlet lifecycle, Http Request, Http Response),Java Server Pages (JSP
architecture, client request, cookies handling),Database connectivity using different drivers and statements, callable statement, prepared
statement.

Text Book:
• Herbert Schildt (2019), “Java The Complete Reference, Ed. 11, McGraw-Hill publishing company Ltd.
•Object Oriented Programming Using Java – IBM Study Material.
References:
• Programming with Java by Balaguruswamy, – A primer, Tata McGraw Hill.
•Understanding Object-Oriented Programming with JAVA by Timothy Budd.
•Java Tutorial http://www.tutorialspoint.com/java/index.htm
•UML with Eclipse Tutorial http://www.vogella.de/articles/UML/article.html
•Java Example Codes and Tutorials http://www.roseindia.net/java/ 3
Contents
• Latest Trends of Programming Language
• What is JAVA?
• Why JAVA?
• Application of JAVA
• History of JAVA
• Execution of JAVA
• Structure of JAVA program

4
Programming Language Trends

5
What is JAVA ?

6
Overview of JAVA

• Programming Language

• Development Environment

• Application Environment

• Deployment Environment
James Glosing
• “Write ones and Run anywhere”

7
Why JAVA?

8
Application of JAVA
Business
Application

Desktop Web-based
Application Application

Digital and
Electronic
Devices JAVA Cloud-
Based
Application

Gaming and Distributed


Animation Application

Mobile
Application
9
History of JAVA

JDK 1.0 JAVA SE 7 JAVA SE 8 JAVA SE 15


1996 2011 2014 Sep.,2020

JDK 1.1 JAVA SE 6 JAVA SE 9 JAVA SE 14


1997 2006 2017 March,2020

J2SE 1.2 J2SE 1.3 JAVA SE 10 JAVA SE 13


1998 2000 2018 Sep.,2019

J2SE 5.0 J2SE 1.4 JAVA SE 11 JAVA SE 12


2004 2002 2018 March,2019

10
Execution of a C program

x.c x.obj x.exe O/P

C program source code Object Code Executable code Program o/p

 When the header file is found, C compiler compiles the entire code(this code will
be in machine language format) from the header file into the C program.

 x.exe is also called machine language instructions.

This type of language is called System Dependent Language.

“Write Once and Compile Anywhere”


Execution of a Java Program

“Write Once and Run Anywhere”


Flavors of JAVA

Java Platform, Standard Edition (Java SE) for desktops

Java Platform, Enterprise Edition (Java EE) for enterprise

Java for Micro Edition(Java ME) for mobile


General Structure of JAVA Program

14
How to Check JAVA in Yours Computer?

15
Summary
. Discussed about the importance of JAVA language .
. How java language is different to other language.
. Structure of java in programming.
. How to configure java setup in computer.

16
Home Work
Q1. Why java is platform independent language?

Q2. What is application area in java language?

Q3. How to execute a java program ?

17
References

Online Video Link


• https://nptel.ac.in/courses/106/105/106105191/
• https://www.coursera.org/courses?query=java
• https://www.coursera.org/specializations/object-oriented-programming
• https://www.youtube.com/watch?v=aqHhpahguVY

Text Book
• Herbert Schildt (2019), “Java The Complete Reference, Ed. 11, McGraw-Hill .

18
THANK YOU

For queries
Email: [email protected]

You might also like