Getting Ready for Java - University of Pennsylvania

Getting Ready for Java - University of Pennsylvania

Getting Ready for Java Jan 30, 2020 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand Java is currently a very popular language Java is a large, powerful language but it is not simple!

Compared to C++, Java is elegant Declarations, statements, comments A declaration gives some information to the computer A statement tells the computer to do something Statements should really be called commands Comments are ignored by the computerthey are explanations of your program for human beings to read 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 Javas syntax and semantics We will cover most of Javas 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 Versions of Java Java 1 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: Last years best version Java 1.4: The latest and best version Java 1.5: Not yet released Vocabulary I JRE, Java Runtime Environment SDK, System Development Kit (previously called JDK, Java Development Kit)

This is the software that allows you to run Java programs on your computer 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

Beta software Interface Software that is new, untested, often buggy the place where things touch each other the way that distinct things communicate GUI, Graphical User Interface A way for the computer and the user to communicate via graphics (pictures) on the screen

BlueJ BlueJ is an IDE (Integrated Development Environment). It includes an editor, which you use to write your programs a debugger, to help you find your mistakes a viewer, to see the parts of your program an easy way to run Java programs an easy way to view documentation Elegance

Powerful software can do everything you want to do--for example, Microsoft Word Complex software is hard to learn and hard to use-for example, Microsoft Word More power usually means more complexity Elegant software somehow manages to be both powerful and simple BlueJ is elegant What You Need

128 MB of RAM (256 MB recommended) 500 MHz Pentium or better Java SDK 1.4 (includes JRE) BlueJ 1.3.0 or better Macintosh: must run Mac OS X Earlier versions of BlueJ have serious problems If you have an older version, update! By the way: the SDK and BlueJ are free

Getting Ready If you plan to use your own computer: Download and install Java SDK 1.4 Download and install BlueJ 1.3.0 Download J2SETM v 1.4.0_02

Windows (all languages, including English)--SDK [Optional, but strongly recommended] Download the Java documentation J2SE 1.4 Documentation The End

Recently Viewed Presentations

  • Microsoft Access Basics - PC\|MAC

    Microsoft Access Basics - PC\|MAC

    Created by: Tanya Morgan * * Access is the database software of the Microsoft Office suite. A database is a collection of objects that work together to: Store data Retrieve data Display data Summarize data DBMS stands for DataBase Management...
  • Bell Ringer - Grammar - Avon Schools

    Bell Ringer - Grammar - Avon Schools

    Your Turn. In partners… Other Examples: (notice the RYHYME SCHEME (abab, cdcd, efef, gg), QUATRAINS, and RHYMING COUPLET. The sonnet form is old and full of dustAnd yet I want to learn to write one well.To learn new forms and...
  • Title (46 pt. HP Simplified bold) - Ingram Micro

    Title (46 pt. HP Simplified bold) - Ingram Micro

    Position HP advantages to keep Cisco out. Stability - Real Consequences Behind Compute as an Endpoint. Management - Hidden Cost & Complexities in Cisco UCS. TCO - The Real Story about Server Management
  • East Asia 4th 9 Weeks 6 Weeks Test

    East Asia 4th 9 Weeks 6 Weeks Test

    The Silk Road has allowed culture and goods to travel through East Asia for the past 2000 years. The Silk Road also introduced the Buddhism religion to China. History of China. Much of modern China contains the cultural hearth of...
  • THE BOOT CAMP MODEL Deborah Davidson Vice President

    THE BOOT CAMP MODEL Deborah Davidson Vice President

    Employer feedback leads to continuous improvement and added certifications. ... facility and equipment for programs - SC Johnson iMET Center. Program Value to Employers. Employees with technical and soft skills. Involvement with training. Improved employee retention. ... PowerPoint Presentation
  • Basic Overview of C and Overview of Project 1

    Basic Overview of C and Overview of Project 1

    Bubble Sort Description Takes a certain number of values and sorts them in ascending order Project consists of a simple four bit comparator which interchanges values when required. Logic is needed to wire the comparators together. (master->component design) Bubble sort...
  • Get out p. 193 HW and notes - Humble Independent School ...

    Get out p. 193 HW and notes - Humble Independent School ...

    Regression to the Mean. We have data on an explanatory variable x and a response variable y for n individuals.From the data, calculate the means and the standard deviations of the two variables and their correlation r.. The least-squares regression...
  • Sargent House -

    Sargent House -

    Introduction to Effective Practices in Community Correctional settings and how we use it within SJSD. EPICS Coaching Sessions: Monthly EPICS training sessions for case managers where different modules are reviewed to keep EPICS on the forefront at the SJS programs...