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

28 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+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents