 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.

Slides:



Advertisements
Similar presentations
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Advertisements

L1:CSC © Dr. Basheer M. Nasef Lecture #1 By Dr. Basheer M. Nasef.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2005 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Computers: Tools for an Information Age
For more Lectures and Notes Visit
 2002 Prentice Hall. All rights reserved. Week 1 - Introduction to Object- Oriented Programming Outline 1.1 Machine Languages, Assembly Languages and.
WEL COME PRAVEEN M JIGAJINNI PGT (Computer Science) MCA, MSc[IT], MTech[IT],MPhil (Comp.Sci), PGDCA, ADCA, Dc. Sc. & Engg.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
INTRODUCTION TO JAVA PROGRAMMING Chapter 1. What is Computer Programming?
C++ fundamentals.
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.
BASIC JAVA PROGRAMMING TUTORIAL. History  James Gosling and Sun Microsystems  Oak  Java, May 20, 1995, Sun World  Hot Java –The first Java-enabled.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
CSE 452: Programming Languages Java and its Evolution.
Microsoft Visual Basic 2005: Reloaded Second Edition
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Welcome to OBJECT ORIENTED PROGRAMMIN Date: 10/09/2014 Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to Computers,
CPCS  Problem Solving in Everyday Life  Types of Problems  Problem Solving with Computers  Difficulties with Problem Solving 0-3.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to Programs,
1.  At the end of this slide, student can:  Explore tools, features, properties and interface of the Textpad.  Creating a new project.  Open and run.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
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.
Chapter 1: Introduction to Programs, and Java 1. Objectives To review programs (§ ). To understand the relationship between Java and the World Wide.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to Programs.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
Java Introduction 1. Introduction to Java Programming2 Computers and Computer Languages Computers are everywhere –how many computers do you own? Computers.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
What Is Java? According to Sun in a white paper: Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture-neutral, portable,
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
Java and its Evolution. Contents Java Introduction Java Features How Java Differs from other OO languages Java and the World Wide Web Java Environment.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
Software Development Programming & Languages. Programming: A Five-Step Procedure Define the problem Design a solution Code the program Test the program.
Learners Support Publications Object Oriented Programming.
Overview.ppt Overview-An Overview of Visual Basic.NET An Overview of Visual Basic.NET.
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.
©2016 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. CSC 110 – INTRO TO COMPUTING - PROGRAMMING Overview of Programming.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
1 Introduction to Java. 2 * 10% Assignments/ class participation * 10% Pop Quizzes * 05% Attendance * 25% Mid Term * 50% Final Term.
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction.
BlueJ X ICSE Syllabus. Board Pattern THEORY (100 marks) PRACTICAL (100 marks) PROJECT (50 marks) ASSIGNMENTS (50 marks)
Introduction to JAVA Programming
Introduction to Java Programming, 4E Y. Daniel Liang.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Chapter 1 – Introduction to Computers, the Internet, and the Web
Unit-1 JAVA Programming.
Chapter 1 Introduction to Computers, Programs, and Java
UCSC All rights reserved
Introduction to Computers and Java
Chapter 1 FOUNDATIONS OF JAVA
Chapter 1 Introduction to Computers, Programs, and Java
Chapter 1 Introduction to Computers, Programs, and Java
Java History, Editions, Version Features
By Rajanikanth B Overview Of Java By Rajanikanth B
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Java Evolution Java History. Java Features.
Introduction to Computers, Internet and the World Wide Web
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:

 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features

What is Program: A program is like a recipe. It contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables. The variables can represent numeric data, text, or graphical images. Types of Languages: Machine Language:  “ Natural Language” of computer component.  Machine dependent. Assembly Language:  English – like Abbreviations represent computer operations.  Translator program (assemblers) convert to machine language. High-level language:  Allows for writing more “English-like” instructions Contains commonly used mathematical operations.  Compiler / Interpreter converts to machine language.  C, C++, JAVA, VB, PASCAL, FORTRAN, COBOL, PYTHON, C# etc.,

 OOP treats data as a critical element in the program development and does not allow it to flow freely around the system.  It ties data more closely to the functions that operate on it and protect it from unintentional modification by other functions.  OOP allows us to decompose a problem into a number of entities called objects. Some of features of Object Oriented Programming:  Emphasis is on data rather than procedure or function.  Programs are divided into what are know as objects.  Data is hidden and cannot be accessed by external functions  Objects may communicate with each other through methods.

Basic Concepts of Object Oriented Programming:  Classes and Objects  Data Abstraction and Encapsulation – The wrapping up of data and methods into a single unit is know as encapsulation. Abstraction refers to the act of representing essential features without including the background details or explanations.  Inheritance – Inheritance is the process by which objects of one class acquire the properties of objects of another class.  Polymorphism – Polymorphism means ability to take more than one form.  Dynamic Binding – Dynamic binding means that the code associated with a given procedure call is not known until the time of the call at runtime.  Message communication – The concept of message passing makes it easier to talk about building systems that directly model or simulate their real world.

 Java - The new programming language developed by Sun Microsystems in  Originally called Oak by James Gosling, one of the inventors of the Java Language.  Java Authors: James, Arthur Van, and others.  Originally created for consumer electronics (TV, VCR, Freeze, Washing Machine, Mobile Phone).  Java - CPU Independent language  Internet and Web was just emerging, so Sun turned it into a language of Internet Programming.  It allows you to publish a webpage with Java code in it.

YearDevelopment 1990Sun decided to developed special software that could be used for electronic devices. A project called Green Project created and head by James Gosling. 1991Explored possibility of using C++, with some updates announced a new language named “Oak” 1992The team demonstrated the application of their new language to control a list of home appliances using a hand held device. 1993The World Wide Web appeared on the Internet and transformed the text-based interface to a graphical rich environment. The team developed Web applets (time programs) that could run on all types of computers connected to the Internet.

YearDevelopment 1994The team developed a new Web browsed called “Hot Java” to locate and run Applets. Hot-Java gained instance success. 1995Oak was renamed to Java, as it did not survive “legal” registration. Many companies such as Netscape and Microsoft announced their support for Java 1996Java established itself it self as both 1. “the language for Internet programming” 2. a general purpose OO language. Sun released JDK JDK Sun released the Java 2 with version 1.2 of Software Development Kit (SDK 1.2) platforms were released J2SE, J2EE 2000 and 2002 SDK 1.3 and SDK J2SE with JDK 5.0 was released. This is know as J2SE 5.0

 Simple  Object-Oriented  Compiled and Interpreted  Portable

 Simple  Object-Oriented  Compiled and Interpreted  Portable 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.

Java is inherently object- oriented. One of the central issues in software development is how to reuse the code. Object-oriented programming provides great flexibility, clarity, and reusability through encapsulation, inheritance, and polymorphism.  Simple  Object-Oriented  Compiled and Interpreted  Portable

 Simple  Object-Oriented  Compiled and Interpreted  Portable Converts the source to the object code.

 Simple  Object-Oriented  Compiled and Interpreted  Portable Java programs are portable. They can be run on any platform without being recompiled.