DOC PREVIEW
LETU COSC 2103 - Introduction to Java

This preview shows page 1-2-3-4-5 out of 16 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1History of JavaJava Class LibrariesFORTRAN, COBOL, Pascal and AdaBASIC, Visual Basic, Visual C++, C# and .NETTypical Java Development EnvironmentFig. 1.1 Typical Java development environment.Creating a Program with JCreatorSlide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15View Flash Presentations1•Introduction to Java2 History of Java•Java–Originally for _______________ consumer-electronic devices–Then used for creating Web pages with _______________–Now also used to:•Develop large-scale enterprise applications•Enhance WWW ___________ functionality•Provide applications for consumer devices (cell phones, etc.)3 Java Class Libraries•Classes–Include methods that ________________•Return information after task completion–Used to build Java programs•Java provides class ________________–Known as Java APIs (A_______________ P________________ I ________________4FORTRAN, COBOL, Pascal and Ada•___________________–FORmula TRANslator•COBOL–COmmon ______________ Oriented Language•Pascal–______________ programming•Ada–Multitasking5BASIC, Visual Basic, Visual C++, C# and .NET•BASIC–Beginner’s All-Purpose ___________ ________ Code•.NET–.NET platform •Visual Basic .NET–Based on BASIC•_______________ C++–Based on C++•C#–Based on C++ and ___________________6Typical Java Development Environment•Java programs normally undergo five phases–Edit•Programmer __________ program (and stores program on disk)–Compile•Compiler creates bytecodes from program–__________________•Class loader stores bytecodes in memory–Verify•_______________ Verifier confirms bytecodes do not violate security restrictions–Execute•JVM translates bytecodes into machine language7Fig. 1.1 Typical Java development environment.8Creating a Program with JCreator•Click on the JCreator ____________•IDE windowappears9Creating a Program with JCreator•Click on File, New, then P______________•Project Wizard appears–Choose Java ________________ template10Creating a Program with JCreator•Give the project a _________________•Then click Next11Creating a Program with JCreator•You will want the JDK version 1.5At this point you can click on FinishAt this point you can click on Finish12Creating a Program with JCreator•Now we create our class (the program) with File, New, and Class13Creating a Program with JCreator•The wizard creates a __________________.•Now complete the program with the required commands.14Creating a Program with JCreator•Run the compiler with Build, and CompileFile___________________ shows in bottom pane. This is where compiler error messages will be displayed.15Creating a Program with JCreator•To run the compiled program click on Build, and _________________•Program runs in separate window16View Flash Presentations•Creating a workspace, project, and application•Writing, compiling, running an


View Full Document

LETU COSC 2103 - Introduction to Java

Documents in this Course
Arrays

Arrays

16 pages

Templates

Templates

17 pages

Methods

Methods

22 pages

Methods

Methods

22 pages

Arrays

Arrays

11 pages

Load more
Download Introduction to Java
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to Java and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to Java 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?