What type does boolean inherit from?A. Enum - ProProfs Discuss
Topics
Products
Follow Us:

What type does boolean inherit from?



A. Enum
B. Object
C. String
D. Class

This question is part of

Platform Dev I
Asked by Halbert, Last updated: Feb 22, 2020

+ Answer
Request
1

5 Answers

Praveen

Praveen

Answered Mar 28, 2019

Object is the correct answer

1
 

dbri

Any data type that is supported in Apex—primitive data types (such as Integer), user-defined custom classes, the sObject generic type, or an sObject specific type (such as Account). All Apex data types inherit from Object.

-> Object
1
 

Carice Snow

I am a well trend Motivational speaker at California.

Carice Snow, Motivator, MA, California

Answered Feb 04, 2019

Boolean is a type of data class that has one or two possible values which would be true or false. It is intended to show the two truth values in Boolean algebra. Boolean algebra is used to represent the relationships between sets, classes, and other entities symbolically.

Boolean algebra is the offshoot of algebra in which the quantities of the variables are the truth values, and it is a system of symbolic logic. George Boole discovered the Boolean system of algebraic reasoning in the middle of the 19th century. It is a computer language like Java; however, it is specific to algebra.

 

mudasirwani

Class is the right answerhttps://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_boolean.htm%23apex_methods_system_boolean

 

John Smith

John Smith

Answered Sep 08, 2016

Object
####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.