Sadegh Aliakbary Sharif University of Technology Fall 2010.

Slides:



Advertisements
Similar presentations
A Programmer's Introduction to Java - from a S/370 user (c) IDMS/SQL News
Advertisements

In Review JAVA C++ GUIs - Windows Webopedia.com.
Java Basic Training HaiNH - FQA. Agenda Introduction to Java Java Programming Environment Language Fundamental Object Oriented Programming with Java.
Advanced Programming in Java Peyman Dodangeh Sharif University of Technology Fall 2013 Lecture 1: Introduction to OOP Slides adapted from Steven Roehrig.
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.
Introduction to Java Programming, 4E
For more Lectures and Notes Visit
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.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
TCU CoSc Introduction to Programming (with Java) Course Introduction.
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 2012.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
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.
Introduction to Java Programming with JBuilder 4
Sadegh Aliakbary Sharif University of Technology Spring 2011.
+ 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.
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.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
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.
JAVA Java is a programming language and computing platform first released by Sun Microsystems in It was first developed by James Gosling at Sun Microsystems,
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
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 to Java Programming with Forte Y. Daniel Liang.
Salman Marvasti Sharif University of Technology Fall 2014.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Introduction To JAVA By Ihtesham Ul Haq. Course Objectives Upon completing the course, you will understand Upon completing the course, you will understand.
Peyman Dodangeh Sharif University of Technology Spring 2014.
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.
Intro to Java. Day 1 History Installing Eclipse Sample “Hello” program Packages/Classes/Etc…
We will talking about story of JAVA language. By Kristsada Songpartom.
1. An Introduction A Programming Language A Technology Java Development Kit Java API One Language: Three Editions Standard Edition Enterprise Edition.
What is Java? Object Oriented Programming Language Sun Microsystems “Write Once, Run Everywhere” Bytecode and Virtual Machine Java Platform (Java VM and.
Introduction Mehdi Einali Advanced Programming in Java 1.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
1 Introduction to Java. 2 * 10% Assignments/ class participation * 10% Pop Quizzes * 05% Attendance * 25% Mid Term * 50% Final Term.
การเขียนโปรแกรมภาษา จาวา Java Programming อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา Chapter 1.
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. JAVA Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically.
Introduction to Java Programming, 4E Y. Daniel Liang.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Object Oriented Programming in
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Chapter 1 Introduction to Computers, Programs, and Java
The Java Programming Language
Introduction Enosis Learning.
Advanced Programming in Java
Introduction Enosis Learning.
Advanced Programming Fall 2017.
Advanced Programming Behnam Hatami Fall 2017.
(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:

Sadegh Aliakbary Sharif University of Technology Fall 2010

Agenda Introduction to Course Java History Java Characteristics First Example Syllabus Evaluation Policy Fall 2010Sharif University of Technology2

This Course Covers: Java programming language Object Oriented Concepts Some Programming Skills Test Refactoring Code Smell Fall 2010Sharif University of Technology3

Java History Java was created in 1991 by James Gosling in Sun Microsystems. Initially called Oak in honor of the tree outside Gosling's window Its name was changed to Java because there was already a language called Oak. Sun Microsystems released the first public implementation as Java 1.0 in 1995 Java syntax is similar to C and C++. Fall 2010Sharif University of Technology4

Java Motivation The need for platform independent language To be embedded in various consumer electronic products like toasters and refrigerators Platform independent?! Hardware Operating System Fall 2010Sharif University of Technology5

Java Motivation (2) At the same time, the World Wide Web and the Internet were gaining popularity. Java could be used for Internet programming. Why? Platform independence Creation of Applets Now, Java is used mostly for server-side programming Fall 2010Sharif University of Technology6

The Java technology is: A programming language Java can create all kinds of applications A development environment A compiler (javac) An interpreter (java) A documentation generator (javadoc) … Compare it to C++ Fall 2010Sharif University of Technology7

High-Level Languages Fall 2010Sharif University of Technology8

Java Virtual Machine Fall 2010Sharif University of Technology9

Compile and Execution Stages Compare to C++ and Assembly.NET Framework Fall 2010Sharif University of Technology10

First Example Create a file named First.java Java class files have.java extension Note to naming convention Copy this lines to the file Note: File name and class name should be the same. Fall 2010Sharif University of Technology11

First Example (2) Run javac First.java Run java First We don’t use any IDE now. To highlight compile and run stages. Lets watch it in real world! Fall 2010Sharif University of Technology12

Overview of the Example Fall 2010Sharif University of Technology13

Java is Popular Some reports on programming languages popularity According to Job advertisements Book sales Finding code on the web … Fall 2010Sharif University of Technology14

Fall 2010Sharif University of Technology15 updated in 2010

Fall 2010Sharif University of Technology16

Characteristics of Java Java is simple Java is object-oriented Java is architecture-neutral Java is portable Java is interpreted Java is multithreaded Java is secure Java is robust Fall 2010Sharif University of Technology17

Conclusion Java is a Simple object oriented Robust And popular Java is platform independent. Write Once, Run Anywhere! Fall 2010Sharif University of Technology18

Further Reading Read Java page on Wikipedia Google this terms and phrases: Fall 2010Sharif University of Technology19 Java Java Mobile JVM Byte code Java Sun Java and C++ Java and C#

Exercises Download and install JDK Write a program that prints your name on the console Compile and run the program Fall 2010Sharif University of Technology20

Evaluation Policy Final Exam: 4 Midterm Exam 1: 2 Midterm Exam 2: 2 Quiz & Attendance : 4 Assignments: 3 Projects: 6+ (Sum=21) If you don’t want to attend this class… Fall 2010Sharif University of Technology21

Topics Introduction to java language Java syntax, operators, conditions, loops, … Strings Arrays Object Oriented Programming Inheritance Polymorphism Collections Generics Exception Handling Files and I/O Threads Reflection Test Refactoring GUI Networking Fall 2010Sharif University of Technology22

Fall 2010Sharif University of Technology23