Computer Science, asked by sonagupta9630, 11 months ago

define 5 data type any body can answer me for this question​

Answers

Answered by msrishti0104
4

Answer:

1.) integer - it is a primitive data type which stores an integer value.

2.) character - it stores  characters such as letters or digits.

3.) floating point number - a anumber having fractional part is a floating point number is stored.

4.) boolean - it is a special data type which is used for representing true/false values.

5.) String - it is a non primitive data type which stores a string such as sentences and words.

Explanation:

Answered by StaceeLichtenstein
0

Int, char, float, boolean, String

Explanation:

int: The int datatype is used for the integer purpose it is used to store the integer value in the programming we can used int keyword for declaring the int datatype.

char: The char datatype is used to store the single character value in the programming language. We will use the "char " keyword for declaring the char datatype .

float: The float datatype is used for storing the decimal point value. We used the float keyword for declaring the float datatype value.

boolean: This datatype is used for storing the true/false value in the program.

String: The String datatype is used for storing the collection of characters in the program. we can use the String keyword for declaring string value.  

Learn More :

https://brainly.in/question/11805474

Similar questions