CSE 142 Chapter Notes - Chapter 1: Decimal Mark, Scientific Notation, Data Type

64 views2 pages
oliveherring648 and 18 others unlocked
CSE 142 Full Course Notes
32
CSE 142 Full Course Notes
Verified Note
32 documents

Document Summary

Everything you manipulate in java will be of a certain type, and you will constantly find youself telling java what types of data to use. Data type: a name of data values that are all related, as in type int in java, which is used to rep integer values. There are two types of data: primitive data and objects. 8 types of primitive data: boolean, byte, char, double, float, int, long, and short. Boolean, char, double, and int are considered fundamental: other types exist for programs with special req. Int = integers(whole numbers: double = real numbers (includes decimals, char = single characters (ie: a, x !, boolean = logic values (true, false. A simple value or a set of operations that produce a value. Evaluation: the process of obtaining the value of an expression. Operator: a special symbolthat is used to indicate an operation to be performed on one or more values (ex: + - * /)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents