1 / 4

Chapter 6

Chapter 6. Data Type. Outline. Data Type Concept Primitive Data Type. Data Type Concept. Data Type: It is a collection of data values and a set of predefined operations on these values. Ex : int number ; Values = integer numbers. Operations = + , - , *, /, %.

adolfo
Télécharger la présentation

Chapter 6

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 6 Data Type

  2. Outline • Data Type Concept • Primitive Data Type

  3. Data Type Concept • Data Type: • It is a collection of data values and a set of predefined operations on these values. • Ex : • int number ; Values = integer numbers. Operations = + , - , *, /, %

  4. Primitive data Type • It is the data type that doesn’t defined in terms of other type are called primitive data type. • Numeric Data Type: • Integer: byte – short – int • Floating-point : float double • Boolean type: bool [ true , false ] • Character type: char

More Related