




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Professor: Tanner; Class: Introduction-Computer Science; Subject: Computer Science; University: West Virginia University; Term: Spring 2009;
Typology: Study notes
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Comments o Enclosed in /** */ o Header Comment Name Date Lab instructors name Lecture instructors name Description of program Arithmetic Operations o Data type Values and operations int Æ + * / - % double Æ + / * - o expression operands and operators unary operators Æ - + binary operators Æ - + * / % o writing arithmetic expression b 2 – 4ac
c a
a b
1
1
header comment import statement(s) public class Class definition -- name given to class must match the filename { public static void main (String [] args) { Program statements } }