answersLogoWhite

0

What data type is the is Yes or No?

Updated: 10/27/2022
User Avatar

Wiki User

11y ago

Best Answer

In Java, that would be called "boolean". In other languages it may have different names, for example, "logical". In C, there is no true boolean data type, so people just use integer and if you want the integer to be true, you set it to 1 and if you want it to be false, you set it to 0.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What data type is the is Yes or No?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is hyperlink an Access data type?

yes


The hyperlink data type stores data that can have one of two values?

yes/no data type stores only one oftwo values


Is button a data type in Java?

In Java, just about anything is defined as a class; a class is a data type, so yes.


Is sensitive data kept separate from other personal data at office?

Type your answer here... no


Is float a data type in Java?

Yes it is but it is not usually used


Do the elements of an enumerated data type have to be specified explicitly?

yes.


What data type appears as cheeking box in a table?

yes/no


Is struct is user defined data type?

yes, a structure is a user-made data type so that user can manipulate multiple data types simultaneously. a structure covers up sum limitation of arrays as in it provides heterogenous data type.


Is string arr a non primitive data type?

Depends on the context of the question you were asking from, there are 2 distinct answers: Yes and NO. In the narrowest definition, any array is NOT a primitive data type in C#. Hence a string array is NOT a primitive data type in that context. A string itself, however, is a primitive data type. Some developers would like to extend the definition of "primitives" into the arrays, collections, and Enumeration. Thus, in this context, an array of string IS a primitive data type.


Is text an access data type?

No, "text" is not an access data type. In Microsoft Access, commonly used data types include Text, Number, Date/Time, Memo, and Yes/No among others. Text is used to store alphanumeric data such as names or descriptions.


What data type is age?

integer data type


Can you store non primitive data type in the array list?

Yes you can store non primitive data type variables in an array. String is a non primitive data type. You can declare a string array as: String a[]=new String[10];