CS 2114 Chapter Notes - Chapter B: Java Class Library, Dollar Sign, Decimal Mark

29 views6 pages

Document Summary

Recall ~ an application is a program (stand-alone program) that runs on your computer, while an applet is a program that cannot run without the support of a browser or a viewer. Normally, an applet is sent to another location on the internet and run there. Recall ~ object is a program construct that contains data and can perform actions. The actions performed by objects are defined by methods. Valued methods returns something, while void methods do not. Recall ~ classes in the java library are organized into groups called packages. Recall ~ a main is: public static void main(string[] args) { } ***note: no import statement is needed when you use a class from the package java. lang of the java class library. The dollar sign is only used for special purposes. Recall ~ reserved words or keywords have special predefined meanings in the java language: example: if, do, while, for, etc.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents