SOFTWARE ENGINEERING

SOFTWARE TESTING

TESTING PRINCIPLES AND CONCEPTS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is a Primitive Data type? (Unit 1)
A
Classes
B
Interfaces
C
Arrays
D
Boolean
Explanation: 

Detailed explanation-1: -In a Java program, the words true and false always mean these boolean values. The data type boolean is named after George Boole, a nineteenth century mathematician, who discovered that a great many things can be done with true/false values.

Detailed explanation-2: -In computer science, primitive data types are a set of basic data types from which all other data types are constructed. Specifically it often refers to the limited set of data representations in use by a particular processor, which all compiled programs must use.

Detailed explanation-3: -Primitive types are the most basic data types available within the Java language. There are 8: boolean, byte, char, short, int, long, float and double . These types serve as the building blocks of data manipulation in Java. Such types serve only one purpose-containing pure, simple values of a kind.

There is 1 question to complete.