Java Example Presentation of a Language. Background Conception: Java began as a language for embedded processors in consumer electronics, such as VCR,

Slides:



Advertisements
Similar presentations
Portability and Safety Mahdi Milani Fard Dec, 2006 Java.
Advertisements

CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
Lab Information Security Using Java (Review) Lab#0 Omaima Al-Matrafi.
Lab#1 (14/3/1431h) Introduction To java programming cs425
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
Introduction to Java Kiyeol Ryu Java Programming Language.
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
Lecture 1: Overview of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++ Designed.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
LESSON 1 INTRODUCTION Compiled By: Edwin O. Okech [Tutor, Amoud University] JAVA PROGRAMMING.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Java program.
JAVA v.s. C++ Programming Language Comparison By LI LU SAMMY CHU By LI LU SAMMY CHU.
BASIC JAVA PROGRAMMING TUTORIAL. History  James Gosling and Sun Microsystems  Oak  Java, May 20, 1995, Sun World  Hot Java –The first Java-enabled.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Chapter 1 Coding Introduction.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Introduction to Java Kumar Harshit. Objectives ( 목적지 ) At the end of the lesson, the student should be able to: ● Describe the features of Java technology.
Sadegh Aliakbary Sharif University of Technology Spring 2011.
Sadegh Aliakbary. Copyright ©2014 JAVACUP.IRJAVACUP.IR All rights reserved. Redistribution of JAVACUP contents is not prohibited if JAVACUP.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
Java Beserkers Group 4. Start of Java Development began on June of 1991 by a group of computer scientist at the Sun Mircrosystems Company Development.
 2003 Prentice Hall, Inc. All rights reserved. 1 Java Training Course Dr. H.E. Dunsmore Purdue University Java – How to Program, Deitel (5 th Edition)
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
Java Introduction Lecture 1. Java Powerful, object-oriented language Free SDK and many resources at
Why Java? A brief introduction to Java and its features Prepared by Mithat Konar.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Module Overview n Module Title: OO Programming n Module Code: MIT3446 n Module Value: 3.0 n Duration: 15 weeks n Class-Contact Hours: Lecture15 hrs n Lab/Tutor30hrs.
Introduction and Features of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++
Introduction to Java Programming with Forte Y. Daniel Liang.
CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.1 Basics of Java Produced by Harvey Peters, 2008 Copyright.
What Is Java? According to Sun in a white paper: Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture-neutral, portable,
C# Language Panithan Chandrapatya Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
Chapter 2: A Brief History Object- Oriented Programming Presentation slides for Object-Oriented Programming by Yahya Garout KFUPM Information & Computer.
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
Computer Programming 2 Why do we study Java….. Java is Simple It has none of the following: operator overloading, header files, pre- processor, pointer.
We will talking about story of JAVA language. By Kristsada Songpartom.
CT1513 Introduction To java © A.AlOsaimi.
1. An Introduction A Programming Language A Technology Java Development Kit Java API One Language: Three Editions Standard Edition Enterprise Edition.
Introduction Mehdi Einali Advanced Programming in Java 1.
introductory lecture on java programming
JAVA Ekapap Julnonyang When it was implemented? Developed by Sun Microsystems. The first public implementation was Java 1.0 in 1995 The language.
Introduction to Programming 1 1 2Introduction to Java.
Introduction to JAVA Programming
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
 It is a pure oops language and a high level language.  It was developed at sun microsystems by James Gosling.
Sung-Dong Kim, Dept. of Computer Engineering, Hansung University Java - Introduction.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Chapter 1 Coding Introduction.
Object Oriented Programming in
Before You Begin Nahla Abuel-ola /WIT.
Introduction to Computers, the Internet and the World Wide Web
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
The Java Programming Language
Java programming lecture one
Introduction Enosis Learning.
An Overview of Java.
PROGRAMMING IN JAVA. INTRODUCTION TO JAVA  Java is a general purpose computer programming language that is concurrent, class-based, object- oriented.
Introduction Enosis Learning.
Chapter 1 Coding Introduction.
Advanced Programming Fall 2017.
(Computer fundamental Lab)
Java History, Editions, Version Features
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Java Evolution Java History. Java Features.
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

Java Example Presentation of a Language

Background Conception: Java began as a language for embedded processors in consumer electronics, such as VCR, game boxes, PDA. Project started at Sun Microsystems around After surveying existing languages they decided to develop a new one, named "Oak". Design team was headed by James Gosling, well- known software architect who designed the Emacs editor and worked on NeWS windowing system (a flop)

Design Goals Goals were dictated by the application to consumer electronics, which would have a minimal processor, little memory, no disk (only EPROM or Flash memory), and limited power.  small, portable language.  language must be simple, low memory requirement, efficient implementation.  must by reliable (consumers won't tolerate electronics that crash or fail)  secure

Evolution  "Oak" failed to attract many customers; at the time, the demand for intelligent devices was too small and embedded processors not widely used in C.E.  Coincidentally, the Internet boom started along with demand for a portable, small, secure language for distributed Web applications.  "Oak" was renamed to Java.

Characteristics  An object-oriented language with syntax similar to C++.  All code must be contained in classes.  Has both primitive datatypes (for efficiency) and object types, defined by classes.  "interfaces": separate specification of behavior from implementation.  Restrictions compared to C++: eliminates pointers and referencing (reliability, security), no multiple inheritance (efficiency), all arguments pass-by-value.  Automatic garbage collection.  Strong type checking.

More Characteristics  Configurable security manager to limit access to system resources.  Includes threads and thread synchronization for multi- threaded applications.  Some syntax restrictions to prevent common programming errors, for example, "boolean" cannot be converted into any other type. This avoids errors like this: if ( x = 0 ) return y;// should be "x == 0"  Three Implementations based on same core language: Micro Edition - for embedded applications Standard Edition - standard apps, web apps. Enterprise Edition - adds enterprise features,...

Contributions and Impact  An enormous success, thanks to availability of free compiler and run-time (JVM), extensive class libraries (API), graphics, excellent online documentation and tutorial. satisfied a need for alternative in creating Web apps and easily distributed programs. extension to server-side apps such as JSP  Contributions to Languages most ideas already known, but Java combined them intelligently, including clever dual type system, security features, and a very good API.

Sample Program  to be added...

Resources  - Sun's Java site. Has extensive downloads and documentation for Java.  and dev.java.net is a community site where people contribute knowledge and collaborate on Java technology. Lots of information and help available here. Many good learning tools, weblogs, community discussions.  Java Community Process ( is where Java standards are developed by a "community process". The Java EE standard was (and is) developed here. Java Community Process