CSE 174- Midterm Exam Guide - Comprehensive Notes for the exam ( 15 pages long!)

309 views15 pages

Document Summary

Cse 174 - lecture 2 & 3 - java introduction. Literal/constant- value that is written into code of program. Once initialized with value, constants can"t be changed. By convention, constants are all upper case and words separated by underscore. Then the variables you want to be placed in the placeholders. You can format the output by putting a number between the % and letter. %5. 2d would format the decimal to use five spaces and then round to 2 decimals. Referred to as java class library, java api. Is we really wrote all code from hand, we"d have tons of it and waste time. Reusability of code saves effort and ensures consistency (important in. Reusability of code saves effort and ensures consistency (important in software industry) Same java class file can be used over and over. Informal way of writing down operations for programs. Can easily be converted to high level language. Once initialized with value, can never be changed.

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