Introduction to Java Programming CPIT 202. WEWwwbvxnvbxmnhsgfkdjfcn

Similar documents
Chapter 1 Introduction to Java

Lecture 1: Introduction to Java

Chapter 1 Introduction to Computers, Programs, and Java

Module 1: Introduction to Computers, Programs, and Java

Objectives. Chapter 1 Introduction to Computers, Programs, and Java. What is a Computer?

Chapter 1 Introduction to Computers, Programs, and Java

History Introduction to Java Characteristics of Java Data types

Chapter 1 Introduction to Computers, Programs, and Java

Chapter 1: Introduction to Computers, Programs, and Java

Chapter 1 Introduction to Computers, Programs, and Java

Chapter 1 Introduction to Computers, Programs, and Java. What is a Computer? A Bit of History

Introduction to JAVA Programming Language

II. Compiling and launching from Command-Line, IDE A simple JAVA program

Networks Programming Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000)

Chapter 1 Introduction to Computers, Programs, and Java

Chapter 1 Introduction to Computers, Programs, and Java

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017

Java Language. Programs. Computer programs, known as software, are instructions to the computer. You tell a computer what to do through programs.

Introduction to Java. Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved.

Outline. Introduction to Java. What Is Java? History. Java 2 Platform. Java 2 Platform Standard Edition. Introduction Java 2 Platform

Core Java Syllabus. Overview

CHAPTER 1. Introduction to JAVA Programming

1. Introduction. Java. Fall 2009 Instructor: Dr. Masoud Yaghini

Index. Course Outline. Grading Policy. Lab Time Distribution. Important Instructions

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Object Oriented Concepts and Programming (CSC244) By Dr. Tabbasum Naz

Seminar report Java Submitted in partial fulfillment of the requirement for the award of degree Of CSE

Getting Started. Chapter 1. Java Programming FROM THE BEGINNING. Chapter 1: Getting Started

Introduction to Java and OOP. Hendrik Speleers

Introduction to OOP Using Java Pearson Education, Inc. All rights reserved.

Eng. Mohammed S. Abdualal

CS260 Intro to Java & Android 02.Java Technology

Core Java Syllabus. Pre-requisite / Target Audience: C language skills (Good to Have)

This lecture will take you through simple and practical approach while learning Java Programming language.

Introduction to Java Programming

Programming Languages FILS Andrei Vasilateanu

Lecture 1: Introduction to Java

IQTIDAR ALI Lecturer IBMS Agriculture University Peshawar

Introduction. Introduction to OOP with Java. Lecture 01: Introduction to OOP with Java - AKF Sep AbuKhleiF -

Java Programming Language Mr.Rungrote Phonkam

Core JAVA Training Syllabus FEE: RS. 8000/-

Introduction to OOP with Java. Instructor: AbuKhleif, Mohammad Noor Sep 2017

Sri Vidya College of Engineering & Technology

Lecture 1: Overview of Java

Advanced Object-Oriented Programming Introduction to OOP and Java

Java is a high-level programming language originally developed by Sun Microsystems and released in Java runs on a variety of

An Introduction to Software Engineering. David Greenstein Monta Vista High School

CSE 421 Course Overview and Introduction to Java

Learning objectives. The Java Environment. Java timeline (cont d) Java timeline. Understand the basic features of Java

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

DAY 3 J2ME Aalborg University, Mobile Device Group. Mobile. Mobile Phone Programming

PLATFORM TECHNOLOGY UNIT-5

Zhifu Pei CSCI5448 Spring 2011 Prof. Kenneth M. Anderson

History of Enterprise Java

2 Introduction to Java. Introduction to Programming 1 1

From High Level to Machine Code. Compilation Overview. Computer Programs

AN ISO 9001:2008 CERTIFIED COMPANY ADVANCED. Java TRAINING.

History of Java. Java was originally developed by Sun Microsystems star:ng in This language was ini:ally called Oak Renamed Java in 1995

Introduction to Java. Nihar Ranjan Roy.

CS335 Graphics and Multimedia

Special Topics: Programming Languages

JVM interprets the Java bytecode, controls how it interacts with the operating system and manages memory.

Introduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich.

Introduction to Computers and Java

CT 229. CT229 Lecture Notes. Labs. Tutorials. Lecture Notes. Programming II CT229. Objectives for CT229. IT Department NUI Galway

Introduction to Computers and Java

Chapter 6 Enterprise Java Beans

Chapter 1: Introduction to Computers and Java

8/23/2014. Chapter Topics. Introduction. Java History. Why Program? Java Applications and Applets. Chapter 1: Introduction to Computers and Java

9/11/08 (c) 2008 Matthew J. Rutherford Class (c) 2008 Matthew J. Rutherford Class

Objects and Classes Lecture 1

1. What is Jav a? simple

Introduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich.

Object Orientated Analysis and Design. Benjamin Kenwright

Introduction to Computers, Programs, and Java. CSE 114, Computer Science 1 Stony Brook University

Introduction to Computers and Java

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Developing Java TM 2 Platform, Enterprise Edition (J2EE TM ) Compatible Applications Roles-based Training for Rapid Implementation

Data Structures and Algorithms Design Goals Implementation Goals Design Principles Design Techniques. Version 03.s 2-1

Java Training For Six Weeks

Programming. Syntax and Semantics

Java Puzzle Ball Nick Ristuccia

Chapter 1 Introduction to Computers, Programs, and Java

J2ME ARCHITECTURE AND RELATED EMBEDDED TECHNOLOGIES

Java Lecture Note. Prepared By:

Overview of Java s Support for Polymorphism

Chapter 1 Introduction to Computers, Programs, and Java

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Introduction to.net Framework

Part I: Fundamentals of Programming

ESPRIT Project N Work Package H User Access. Survey

Getting Started With Java

Programming with Java

Introduction to Java

Introduction Welcome! Before you start Course Assessments The course at a glance How to pass M257

Advanced Database Applications. Object Oriented Database Management Chapter 13 10/29/2016. Object DBMSs

(C) Global Journal of Engineering Science and Research Management

The Computer System. Hardware = Physical Computer. Software = Computer Programs. People = End Users & Programmers. people

Lesson 01 Introduction

Designing a Distributed System

Transcription:

Introduction to Java Programming CPIT 202 WEWwwbvxnvbxmnhsgfkdjfcn b 1

WEEK 1 LECTURE 1 What is Java? 2

Background on Java First appear in 1995 Developed by Sun Microsystems Corp. Cross platform = platform independent In May 2007, Sun made available most of their Java technologies as free software under GNU General Public License 3

Why Java? Object Oriented Simple Robust Why? Platform Independent Distributed Application Multithreading Secure 4

Java, Web, and Beyond Java can be used to develop Web applications. Java Applets Java Web Applications i Java can also be used to develop applications for hand held devices such as Palm and cell phones 5

Examples of Java s Versatility (A l (Applets) 6

Examples of Java s Versatility (A l (Applets) 7

Examples of Java s Versatility (W b S A li i ) (Web Server Applications) 8

Java Is Architecture Neutral 9

Java Is Architecture Neutral Java is partially modeled on C++, but greatly simplified and improved. Some people refer to Java as "C++ " because it is like C++ but with more functionality and fewer negative aspects. 10

Java Is Architecture Neutral Java is inherently object oriented. Although many object oriented languages began strictly as procedural languages, Java was designed from the start to be object oriented. Object oriented programming (OOP) is a popular programming approach that is replacing traditional procedural programming techniques. One of the central issues in software development is how to reuse code. Object oriented programming provides great flexibility, modularity, clarity, and reusability through encapsulation, inheritance, and polymorphism. p 11

Java Is Architecture Neutral Distributed computing involves several computers working together on a network. Java is designed to make distributed computing easy. Since networking capability is inherently integrated into Java, writing network programs is lk like sending and receiving data to and from a file. 12

Java Is Architecture Neutral You need an interpreter to run Java programs. The programs are compiled into the Java Virtual Machine code called bytecode. The bytecode is machineindependent and can run on any machine that has a Java interpreter, which is part of the Java Virtual Machine (JVM). 13

Java Is Architecture Neutral Java compilers can detect many problems that would first show up at execution time in other languages. Java has eliminated certain types of errorprone programming constructs found in other languages. Java has a runtime exception handling feature to provide programming support for robustness. 14

l l Java Is Architecture Neutral Java implements several security mechanisms to protect your system against harm caused by stray programs. 15

Java Is Architecture Neutral Write once, run anywhere With a Java Virtual Machine (JVM), you can write one program that will run on any platform. 16

Java Is Architecture Neutral Because Java is architecture neutral, Java programs are portable. They can be run on any platform without being recompiled. 17

Java Is Architecture Neutral Because Java is architecture neutral, Java programs are portable. They can be run onanyplatform withoutbeing recompiled. 18

Java Is Architecture Neutral Multithread programming is smoothly integrated in Java, whereas in other languages you have to call procedures specific to the operating system to enable multithreading. 19

Java Is Architecture Neutral Java was designed to adapt to an evolving environment. New code can be loaded on the fly without recompilation. There is no need for developers to create, and for users to install, major new software versions. New features can be incorporated transparently as needed. 20

JDK Versions JDK 1.02 (1995) JDK 1.1 (1996) JDK 1.2 (1998) JDK 1.3 (2000) JDK 1.4 (2002) JDK 1.5 (2004) a. k. a. JDK 5 or Java 5 JDK 1.6 (2006) a. k. a. JDK 6 or Java 6 21

The Editions of Java J2SE : Java 2 Standard Edition To develop client side standalone applications or applets J2ME : Java 2 Micro Edition To develop application for mobile devices such as cell phones J2EE : Java 2 Enterprise Edition To develop server side applications such as Java servlets and Java ServerPages 22

End of Lecture 1