[CISC 124] - Midterm Exam Guide - Ultimate 12 pages long Study Guide!

170 views12 pages

Document Summary

Every main function begins with: public static void main(string[] args) Comments: // or /* for a large block of comments. Needed a robust, compact, multiplatform language because of the expansion of the internet. Java syntax is identical for all platforms (eg. mac, pc, mobile) Compiler: designed to run on your development platform compiles your source code (*. java file) to a byte code file (*. class file). The byte code file is platform-independent, and is the thing you attach to your web page as an applet. Java. exe program: accepts byte code file, links in any required libraries, creates executable code executable code. Syntax error: error in spelling, missing semi colon. Public: attribute or method is available to any external class. Private: the attribute or method (the member) is only available inside the class in which it is declared. Protected: the member is only public to classes in the same package as the class in which it is declared.

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

Related Documents