Getting Ready for Java version 1.1 28-Apr-19.

Slides:



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

11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Chapter 1 Introduction.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
CS0007: Introduction to Computer Programming Setting Up Java.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
CMSC 202 Computer Science II for Majors Fall 2009 Introduction.
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
UFCFX5-15-3Mobile Device Development UFCFX Mobile Device Development An Introduction to the Module.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Introducing Java.
Starting Chapter 4 Starting. 1 Course Outline* Covered in first half until Dr. Li takes over. JAVA and OO: Review what is Object Oriented Programming.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
Chapter 1: Creating Java Programs
Programming Fundamentals 2: Background/ F II Objectives – –give a non-technical overview of Java Semester 2, Background.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Chapter 1.4 Programming languages Homework Due: Monday, August 11, 2014.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Session One Introduction. Personal Introduction Role of programmers Robot Examination HUD & HID Uploading Code.
Java Chapter 1 Problem solving: 1. Understanding the problem. 2. Breaking the problem into manageable pieces. 3. Designing a solution. 4. Considering alternatives.
1 Introduction Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
Computer Concepts 2014 Chapter 12 Computer Programming.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
5-Jun-16 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
Chapter 6 Introduction to Defining Classes. Objectives: Design and implement a simple class from user requirements. Organize a program in terms of a view.
29-Nov-15 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
LanguageLab A Meta-modelling Environment Terje Gjøsæter and Andreas Prinz, University of Agder, Norway SDL Forum 2015, Berlin, Germany.
Chapter 12: Computer Programming 1 Computer Programming Chapter 12.
Software Development Introduction
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
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.
Introduction to Object Oriented
Object-Oriented Programming
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Chapter 10 Programming Fundamentals with JavaScript
CSC305: COMPUTER PROGRAMMING II (JAVA)
Introduction to Our Programming Tools
Before You Begin Nahla Abuel-ola /WIT.
Lecture 1 Introduction Richard Gesick.
Chapter 1 Introduction to Computers, Programs, and Java
1. Environment Setting Minhaeng Lee.
Introduction Enosis Learning.
CMPE419 Mobile Application Development
Introduction Enosis Learning.
Chapter 10 Programming Fundamentals with JavaScript
Programming Vocabulary.
Your First Java Application
Chapter 12: Computer Programming
How to Run a Java Program
Unit 1: Introduction Lesson 1: PArts of a java program
Introduction to Computer Science for Majors II
Programming.
Chapter 7 –Implementation Issues
F II 1. Background Objectives
Korea Software HRD Center
Introducing Java.
Software Development Environment, File Storage & Compiling
Road to Object Oriented Programming
Final Review B.Ramamurthy 5/8/2019 BR.
Chap 1. Getting Started Objectives
Review of Previous Lesson
CMPE419 Mobile Application Development
WJEC GCSE Computer Science
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:

Getting Ready for Java version 1.1 28-Apr-19

What is Java? Java is currently a very popular language Java is a large, powerful language but it is not simple! It has syntax list all the C-family of languages: Variable names are case-sensitive Semi-colons after individual statements Curly braces around bunches of statements Comments start with // (or surrounded by /* and */) Compared to C++, Java is elegant

Syntax and semantics Syntax is the “grammar” of the language The syntax of Java is large, but finite Syntax must be absolutely correct The computer will point out every syntax error Error messages may be helpful or misleading Semantics is the “meaning” of your program Semantic errors cause your answers to be wrong You may or may not get error messages

Two aspects of Java Java has syntax and semantics This is where you begin It is possible to learn everything about Java’s syntax and semantics We will cover the basics of Java’s syntax and semantics Java also has “packages” Packages are sort of like vocabulary bundles To be good at Java, you need to learn many packages There are more Java packages than you can ever learn “packages” may also be called “libraries”

Versions of Java Java 1 - 1996 Java 2 Java 5 - 2005 Java 6 – Dec. 2005 Java 1.0: Original, not very good version Java 1.1: Greatly revised and improved Java 2 Java 1.2: Includes “Swing” Java 1.3: More new packages, no new syntax Java 1.4: Introduces the assert statement Java 5 - 2005 Java 1.5: Quite a bit of new syntax Java 6 – Dec. 2005 Runs faster, maybe other features

Vocabulary I JRE, Java Runtime Environment This is the software that allows you to run Java programs on your computer JDK, Java Development Kit (previously called SDK, System Development Kit) The software that allows you to create and run Java programs on your computer When you install the SDK, you get a JRE along with it IDE, Integrated Development Environment A tool that makes it easier to write programs

Vocabulary II – “Object orientation” Class A description of a bunch of data, and the subroutines which can manipulate that particular data Object A data structure in memory, and certain code that can change it Inheritance A way to reuse code in a class for a new class, with only small changes Interface The place where things touch each other The way that distinct things communicate Encapsulation The time-honored principle of information-hiding

Getting Ready If you plan to use your own computer: Download and install Java JDK 1.5 http://java.sun.com/javase/downloads/ Download the JDK, not the JRE Version 1.6 is also okay Download and install Eclipse 3.2.1 or newer http://www.eclipse.org/

The End