function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prasanna_24Prasanna_24 

Platform Dev-1

Hi,

Can you help me out by answering these questions.

1)A company has a custom object named Warehouse.Each warehouse record has a distinct record owner,and is related to parent Account in salesforce.

A.One-to-Many
B.Lookup
C.Master-Detail
D.Parent-Child

2)To which primitive data type in Apex is a currency field automatically assigned?

   A.Integer
   B.Decimal
   C.Double
   D.Currency



 
RatanRatan
Ans 

1. A. One-to-Many
2. B.Decimal
Mathew Andresen 5Mathew Andresen 5
I think 1 is C

agreed that 2 is B
Riyadh HossainRiyadh Hossain
The answer for 1 is B. Lookup.

When we define relationship in salesforce through custom fields there is no One-to-Many or Parent-Child relationship. It can be either Lookup or Master-Detail relationship. Also, in salesforce Child record of a Master-Detail relationship can't have owner. Here Warehouse is child to Account. As the question says warehouse has distintct owner, the answer should be Lookup.
R Z KhanR Z Khan
1 is B. "The Owner field on the detail object is not available and is automatically set to the owner of its associated master record" Check out link below for more info
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/relationships_among_objects.htm
2. B. Check out the following link for more information 
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_primitives.htm
Anita BhanarkarAnita Bhanarkar
2) Answer is Double- Please refer this link - https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/field_types.htm
 
Venkatesh DevamVenkatesh Devam
2) Answer is Decimal as Currency fields are automatically assigned the type Decimal.Source: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_primitives.htm
DevSF20DevSF20
You may contact me at: developersfdc.30@gmail.com. I've the latest dumps for Platform Developer I, sales cloud, service cloud.
Thank you and cheers.
kishor kumar 45kishor kumar 45
1) Lookup
We define relationship in salesforce through custom fields there is no One-to-Many or Parent-Child relationship. It can be either Lookup or Master-Detail relationship. Also, in salesforce Child record of a Master-Detail relationship can't have owner. Here Warehouse is child to Account. As the question says warehouse has distintct owner, the answer should be Lookup
2) Decimal
swain 10swain 10
For Platform developer 1 , Adm 201 , Sales cloud , Service Cloud Dumps please Contact (swain7726@gmail.com)
Thomas John 2Thomas John 2
You can contact me for any help and exact questions and answers for the latest Winter 20 certifications at salesforcecertguide2018[at]gmail.com
Mathew T 10Mathew T 10
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
You can contact me for any help and exact questions and answers for the latest Summer 21 certifications at salesforcecertguide2018[at]gmail.com. 100% pass rate. All exact screenshots and 100% accuracy. Trusted by all for passing all their exams. One to one guidance provided for every exam till completion. Free training materials will also be provided.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------