CAS CS 111 Study Guide - Midterm Guide: Integrated Development Environment, Concatenation, String Literal
cherryberry1035 and 38883 others unlocked
48
CAS CS 111 Full Course Notes
Verified Note
48 documents
Document Summary
Most basic syntax: public class name { //this is the header public static void main(string[] args) { System. out. println( hello, world ); integrated development environment (ide) app that helps you develop programs ex. Code duplication is undesirable b/c takes too much time and will have to change all duplications if change is wanted static method simple methods public static void () { ; comments text ignored by the compiler line comments: begin with // block comments: begin with /* and end with */ Primitive data, variables and expressions; simple conditional execution. Steps to developing a program: analysis and specification, design. 32 bits double 64 bits binary to decimal b7 to b0 printf: formatted output. //typically use double b/c of greater precision limits number of places after the decimal. Definite loop increment and decrement operators i++; i -- for loops for (; ; ) {