1 / 9

In Review

In Review . JAVA. C++. GUIs - Windows. Webopedia.com. E.Q. What is JAVA?. JAVA. JAVA – an object oriented program (OOP) developed by Sun Microsystems was designed to be simple and architecture neutral so it could be used on a variety of hardware.

tuyen
Download Presentation

In Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. In Review JAVA C++ GUIs - Windows Webopedia.com

  2. E.Q. What is JAVA?

  3. JAVA • JAVA – an object oriented program (OOP) developed by Sun Microsystems was designed to be simple and architecture neutral so it could be used on a variety of hardware. • Used to write internet applets (graphical Java programs that execute inside a web browser)

  4. Java application (program) – a package (library) with at least one class that contains a main method. • As a programmer YOU write the Java source code (program). • This must be translated – compiled – into language the computer understands –machine language in order for the program to execute – run. • Source code has the extension “.java” and compiled code has the extension “.class” • Compiled source code, called bytecode, is executed with the Java Virtual Machine, which can reside on any computer regardless of the operating system

  5. Java – Object Oriented Programming (OOP) – uses objects and its interactions to design applications and computer methods. • OOP programmers will create modules – classes - which can be used over and over in many different programs.

  6. Java applet – small program embedded in an HTML doc and run in a browser window. Program files are downloaded onto a user’s machine and the browser’s Java interpreter runs the applet. • Will run in many different platforms. • Secure because they can’t read or write to files on a person’s computer.

  7. Review • When you write Java programs, you are creating the: • Executable file • Source code • Object code • Once you compile a program, you create the: • Executable file • Source code • bytecode

  8. Source code has the file extension: • .jav • .class • .java • A Java application contains a package with at least one ___________. • library • object • class

  9. Small Java apps which run in a browser window on any machine regardless of the operating system are called a(n): • Package • Source code • Applet • This type of programming uses objects and interactions: • GUI • OOP • Java virtual machine

More Related