Computer Programming 2 Why do we study Java….. Java is Simple It has none of the following: operator overloading, header files, pre- processor, pointer.

Slides:



Advertisements
Similar presentations
CSci 1130 Intro to Computer Programming in Java
Advertisements

In Review JAVA C++ GUIs - Windows Webopedia.com.
Portability and Safety Mahdi Milani Fard Dec, 2006 Java.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
Introduction to JAVA Vijayan Sugumaran School of Business Administration Oakland University Rochester, MI
Lab Information Security Using Java (Review) Lab#0 Omaima Al-Matrafi.
Java By Ajay Tripathi. Pre requisites…..  C and C++  OOP  Internet and WWW.
Lab#1 (14/3/1431h) Introduction To java programming cs425
Java.  Java is an object-oriented programming language.  Java is important to us because Android programming uses Java.  However, Java is much more.
The Java Language. Topics of this Course  Introduction to Java  The Java Language  Object Oriented Programming in Java  Exceptions Handling  Threads.
Introduction to Java The objectives of this chapter are: To describe the key aspects of Java To describe the Java software development kit (SDK) To explain.
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
COMP201 Java Programming Topic 1: Introduction Readings: Chapter 1.
Introduction to Java Kiyeol Ryu Java Programming Language.
Java for High Performance Computing Jordi Garcia Almiñana 14 de Octubre de 1998 de la era post-internet.
Session-02. Objective In this session you will learn : What is Class Loader ? What is Byte Code Verifier? JIT & JAVA API Features of Java Java Environment.
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.
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.
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.
CIS 068 JAVA vs. C++ Main Differences. CIS 068 JAVA vs C++ Java is (an interpreted) write once, run anywhere language. –The biggest potential stumbling.
1. 2 is high level programming language like C++, Visual Basic, developed by James Gosling and Patrick Naughton at Sun Microsystems in 1991.
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.
Introduction to Programming Languages. Problem Solving in Programming.
Java Introduction Lecture 1. Java Powerful, object-oriented language Free SDK and many resources at
Sadegh Aliakbary Sharif University of Technology Fall 2012.
University of Houston-Clear Lake Proprietary© 1997 Evolution of Programming Languages Basic cycle of improvement –Experience software difficulties –Theory.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
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++
1 2. Program Construction in Java Programming Fundamentals.
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.
Java Security Model For Mobile Code Abdo Achkar. Mobile Code A mobile object is a “self contained piece” of executable code. Definition:  Code that can.
What Is Java? According to Sun in a white paper: Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture-neutral, portable,
Lecture 1 Introduction. Instructor Name: Seokwoo Song Office: business 524 Phone: Office Hours: M W 4:30 – 5:30 PM or by appointment
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.
We will talking about story of JAVA language. By Kristsada Songpartom.
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
Copyright © Mohamed Nuzrath Java Programming :: Syllabus & Chapters :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme.
1. An Introduction A Programming Language A Technology Java Development Kit Java API One Language: Three Editions Standard Edition Enterprise Edition.
Java JDBC API. A Java API To Access almost any kind of tabular data To Access almost any kind of tabular data Trademarked (not an acronym) Trademarked.
Java -- A very Hot Object- Oriented Language Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of.
Introduction Mehdi Einali Advanced Programming in Java 1.
Java – in context Main Features From Sun Microsystems ‘White Paper’
1 Introduction Read D&D Sec 1.8; Sec 1.13 THE Java tutorial -
ITP 109 Week 2 Trina Gregory Introduction to Java.
Introduction to Programming 1 1 2Introduction to Java.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 15: Java Basics Fundamentals of Web Programming.
Introduction to JAVA Programming
JAVA TRAINING IN NOIDA. Introduction to Java:  Java training in noida is a general-purpose computer programming language that is concurrent, class-based,
JAVA PROGRAMMING Buzzwords. Simple: Less complex syntax than C++ Not as easy to design as Visual Basic Small size of interpreter.
Sung-Dong Kim, Dept. of Computer Engineering, Hansung University Java - Introduction.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Object Oriented Programming in
Java™ 2 Platform Getting Started.
Before You Begin Nahla Abuel-ola /WIT.
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
The Java Programming Language
Introduction Enosis Learning.
Introduction Enosis Learning.
(Computer fundamental Lab)
Java History, Editions, Version Features
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
M S COLLEGE ART’S, COMM., SCI. & BMS
Presentation transcript:

Computer Programming 2 Why do we study Java….

Java is Simple It has none of the following: operator overloading, header files, pre- processor, pointer arithmetic, structures, unions, multi-dimensional arrays, templates, multiple inheritance, or implicit type conversion

Java is internet friendly Java programs are transmitted as byte- codes, which means it is possible to download a Java program to any computer on the Internet and execute it.

Java is a dynamic and distributed language Any Java class can be loaded dynamically into a running Java interpreter at any time. Java also provides a lot of high-level support for networking, making it the preferred language for network applications.

Java is Object-Oriented. Java is a fully object-oriented language with strong support for proper software engineering techniques. Almost everything in Java is an object (simple types like numbers and booleans are not). Java code is organized into classes endowed with a single-inheritance property. This decision, to start with a clean object-oriented slate, has been vindicated by the ease with which various extensions have been created.

Java is Architecture Neutral (portable ) Because Java programs are compiled to bytecodes, they can run on any platform that supports Java. The Java language is the same on every computer. Java bytecodes help make "write once, run anywhere" possible.

Java is free Free compiler from the developers, the JDK (Java Developer’s Kit), is available at no charge from the Sun Microsystems at

Java is Statically (Strongly) Typed In a Java program, the type of the objects (numbers, characters, arrays, etc.) that are used must be defined. However, all object in the Java system also have a dynamic type. Most of Java’s type checking is done at compile time, but some runtime checks are still required, such as array bounds checking and null pointer checking.

Java is Multi-Threaded Most operating systems today (UNIX, Windows, etc.) support multi-tasking, i.e., they can perform more than one task at a time. A Java program can execute more than one thread at a time and it can take advantage of multiprocessor machine.

Java is Garbage Collected The Java system has a built-in program called the garbage collector that scans memory and automatically frees any memory chunks that are no longer in use.

Java is Robust Java programs can’t cause a computer to crash. This does not mean that Java programs don’t have bugs.

Java is Small It can run efficiently on personal computers with 4 Mb of RAM or more. The Java interpreter takes up only a few hundred kilobytes.

Java is Secure Java programs have no pointers, and byte- code programs like Java are strongly typed, so it is possible to verify a Java program before executing it. Web browsers to make sure that applets do not contain viruses use this verification.

Java is Extensible It is possible to interface Java programs to existing software libraries written in other languages.

Java is Well Understood. Java’s cool features are derived from other languages such as Lisp, Smalltalk, Pascal, Cedar, Objective-C, Self, Beta, and mostly C++. The language is new but the underlying technology is not

Java is Fun It is harder to make stupid mistakes, and it is easier to be productive.

Java is the language of the AP exam It is possible to get college credit. Last year a student scored a 5 on the AP exam!

Java can get you a job Go on the internet and let’s see 1. How many jobs we can find in our area 2. What is the salary range that these jobs pay.