CSC 3020 Study Guide - Final Guide: Root Directory, Dynamic Array, Software Development Process
Document Summary
A method signature includes the name and data types of the parameters, but does not include any returned data type (t) A boolean variable may have a value of true or false or unknown (f) A conditional operator is basically and if statement embedded within an expression (t) [ ]+ in a regular expression means match one or more characters within brackets (t) an equivalent switch statement can be written from any if statement (f) Arraylist declaration arraylistintal=new arraylist0; creates an array list with an initial capacity of 10 elements (f) Keyword const is used in java constant declaration (f) The + operator can mean addition or concatenation, depending on what is on either side of the operator (t) The value method may be called whenever a statement may appear (t) A statement may use a index variable of type int or double (t)