We will talking about story of JAVA language. By Kristsada Songpartom.

Slides:



Advertisements
Similar presentations
University of Palestine software engineering department Introduction to data structures Introduction to java application instructor: Tasneem Darwish.
Advertisements

Lab#1 (14/3/1431h) Introduction To java programming cs425
Object Orientated Programming
IC211 Object Oriented Programming Overview of Java.
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
Prepared By E.Musa Alyaman1 Chapter 2 The Java Overview.
Introduction to Java.
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.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Introduction to Java Programming. Contents 1. Java, etc. 2. Java's Advantages 3. Java's Disadvantages 4. Types of Java Code 5. Java Bytecodes 6. Steps.
JAVA v.s. C++ Programming Language Comparison By LI LU SAMMY CHU By LI LU SAMMY CHU.
Chapter 1 Coding Introduction.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
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.
Java Workshop for Teachers May 6, 2005 A Brief Look at the Java Programming Language.
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.
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
Sadegh Aliakbary Sharif University of Technology Fall 2012.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
University of Houston-Clear Lake Proprietary© 1997 Evolution of Programming Languages Basic cycle of improvement –Experience software difficulties –Theory.
Java ACO101: Introduction to Computer Science. The History of Java Started out as a research project at Sun Microsystems in 1991 Code named “Green” Based.
CS 11 java track: lecture 1 Administrivia need a CS cluster account cgi-bin/sysadmin/account_request.cgi need to know UNIX
Introduction and Features of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++
Netprog: Java Intro1 Crash Course in Java. Netprog: Java Intro2 Why Java? Network Programming in Java is very different than in C/C++ –much more language.
C# Versus Java Author: Eaddy, Marc Source: Software Tools for the Professional Programmer. Dr. Dobb's Journal. Feb2001, Vol. 26 Issue 2, p74 Hong Lu CS699A.
Introduction To JAVA By Ihtesham Ul Haq. Course Objectives Upon completing the course, you will understand Upon completing the course, you will understand.
What Is Java? According to Sun in a white paper: Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture-neutral, portable,
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
Intro to Java. Day 1 History Installing Eclipse Sample “Hello” program Packages/Classes/Etc…
Open Source Software JAVA Sean Thompson Itec 400 4/5/07.
Computer Programming 2 Why do we study Java….. Java is Simple It has none of the following: operator overloading, header files, pre- processor, pointer.
Applied Computing Technology Laboratory QuickStart Java Learning to Program in Java Dr. Tom Way October 21, 2005.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
1. An Introduction A Programming Language A Technology Java Development Kit Java API One Language: Three Editions Standard Edition Enterprise Edition.
Java Basics 1 Brief History of Java and Overview of Langauge.
Introduction Mehdi Einali Advanced Programming in Java 1.
introductory lecture on java programming
Java – in context Main Features From Sun Microsystems ‘White Paper’
JAVA Ekapap Julnonyang When it was implemented? Developed by Sun Microsystems. The first public implementation was Java 1.0 in 1995 The language.
ITP 109 Week 2 Trina Gregory Introduction to Java.
Introduction to Programming 1 1 2Introduction to Java.
JAVA TRAINING IN NOIDA. JAVA Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically.
Lesson 2: First Java Programs. 2.1 Why Java? Java is one of the most popular programming languages in the world. Java is a modern object-oriented programming.
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.
Introduction CMSC 202 Fall Instructors Mr. Ryan Bergeron – Lecture Section 01 Tues/Thu 1:00 – 2:15 am, Sondheim 111 – Lecture Section 04 Tues/Thu.
Object Oriented Programming in
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Chapter 1 Introduction to Computers, Programs, and Java
Chapter No. : 1 Introduction to Java.
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.
Advanced Programming Fall 2017.
Introduction CSC 111.
Units with – James tedder
Units with – James tedder
(Computer fundamental Lab)
Java History, Editions, Version 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:

We will talking about story of JAVA language. By Kristsada Songpartom

Java works well for web and server-based applications. It has great features like object- oriented programming, easy database access, and well-designed GUI support.Java has performance tweaks to speed up desktop programs. There are libraries for communicating across networks, and for encryption. It has strong security built in. Most programmers pick up Java quickly. Behind all this, Java is more than just the latest, most popular programming language. It is a way of creating applications that are independent of all hardware and all operating systems.

History of JAVA Sun Microsystems in 1991 funded an internal corporate research project code-named Green, which resulted in the development of a C++-based language that its creator, James Gosling, called Oak after an oak tree outside his window at Sun. It was later discovered that there already was a computer language called Oak. When a group of Sun people visited a local coffee shop, the name Java was suggested, and it stuck. And Sun formally announced Java at a major conference in May Sun Microsystems in 1991 funded an internal corporate research project code-named Green, which resulted in the development of a C++-based language that its creator, James Gosling, called Oak after an oak tree outside his window at Sun. It was later discovered that there already was a computer language called Oak. When a group of Sun people visited a local coffee shop, the name Java was suggested, and it stuck. And Sun formally announced Java at a major conference in May 1995.

Why must be JAVA ? We want software that works—consistently, anywhere, on any platform—and that plays well with other applications. We want dynamic applications that take advantage of a connected world, capable of accessing disparate and distributed information sources. We want truly distributed software that can be extended and upgraded seamlessly. We want intelligent applications—such as autonomous agents that can roam the Net for us, ferreting out information and serving as electronic emissaries. We want software that works—consistently, anywhere, on any platform—and that plays well with other applications. We want dynamic applications that take advantage of a connected world, capable of accessing disparate and distributed information sources. We want truly distributed software that can be extended and upgraded seamlessly. We want intelligent applications—such as autonomous agents that can roam the Net for us, ferreting out information and serving as electronic emissaries.

Primary goals There were five primary goals in the creation of the Java language There were five primary goals in the creation of the Java language 1. It should use the object-oriented programming methodology. 1. It should use the object-oriented programming methodology. 2. It should allow the same program to be executed on multiple operating systems. 2. It should allow the same program to be executed on multiple operating systems. 3. It should contain built-in support for using computer networks. 3. It should contain built-in support for using computer networks. 4. It should be designed to execute code from remote sources securely. 4. It should be designed to execute code from remote sources securely. 5. It should be easy to use by selecting what were considered the good parts of other object-oriented languages. 5. It should be easy to use by selecting what were considered the good parts of other object-oriented languages.

Main features of the JAVA "Write once, run anywhere" (WORA) "Write once, run anywhere" (WORA) Java can be developed on any device, compiled into a standard bytecode and be expected to run on any device equipped with a Java virtual machine (JVM). The installation of a JVM or Java interpreter on chips.

Some good things about Java Java has a garbage collector so there are no destructors. Memory management is handled by the system, not by each program. Java has a garbage collector so there are no destructors. Memory management is handled by the system, not by each program. Java catches all array subscript errors and similar. Java never has uninitialized data of any kind. Order of evaluation, etc. is completely defined and natural. Java catches all array subscript errors and similar. Java never has uninitialized data of any kind. Order of evaluation, etc. is completely defined and natural. Java arrays know their own length. (a public read-only field named length.) Java arrays know their own length. (a public read-only field named length.) Java never has dangling references. You still can't derefernce null, however. If you try it will be caught. This is probably the most common run time error. Java never has dangling references. You still can't derefernce null, however. If you try it will be caught. This is probably the most common run time error. Java int, float,... are completely defined, so behave the same on all systems supporting Java. Int is 32 bits with modular arithmetic. In fact the only thing in Java not specified is the effect of the interleaving of threads in a multithreaded program. All casts are checked, either at compile time or at runtime. A narrowing cast is never applied automatically. Java int, float,... are completely defined, so behave the same on all systems supporting Java. Int is 32 bits with modular arithmetic. In fact the only thing in Java not specified is the effect of the interleaving of threads in a multithreaded program. All casts are checked, either at compile time or at runtime. A narrowing cast is never applied automatically.

Java interfaces define first class types. This gives most of the strength of both C++ templates and multiple inheritance. Interfaces are very important in Java. Java interfaces define first class types. This gives most of the strength of both C++ templates and multiple inheritance. Interfaces are very important in Java. Java has threads, so concurrent programs are possible with standard tools. Java has threads, so concurrent programs are possible with standard tools. Java has a library with lots of common data structures. Java has a library with lots of common data structures.

Some bad things about Java (Actually these things are good, but are placed here since they complicate novice learning.) I/O takes explanation and getting used to. Java standard output is easy. Java standard input is harder. Other input/output is hard. (But its object model is very good.) I/O takes explanation and getting used to. Java standard output is easy. Java standard input is harder. Other input/output is hard. (But its object model is very good.) Java exceptions must be caught and i/o statements throw exceptions. Java exceptions must be caught and i/o statements throw exceptions.

Simple Programs Hello Java program. Hello Java program. public class helloJava { public static void main(String[] args) { String hello = "Hello Java"; System.out.println(hello); //the program will show hello and we want to add number then see below. int a = 321; int b = 123; int c = a+b; int d = a+b*c+1+2+3; System.out.println(c); System.out.println(d); }} We have more information in We have more information in