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
karthik R 80karthik R 80 

Salesforce Questions

Hi All ,

I would like to know the answers of the following Interview questions.
1) Why salesforce Introduced Code Coverage?
2) What is Multitenant Architecture?
3) Is Rest API transfers only less amount of Data ?if it is Y?
Thanks,
karthik
sfdcMonkey.comsfdcMonkey.com
hi Karthik

1. To facilitate and promote the development of robust, error-free code, Apex Code requires the creation and execution of unit tests. Unit tests are class methods that verify whether a particular piece of code is working properly.

2. Multitenancy refers to a standard in software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants). A software application is designed to virtually partition its data and configuration, and each client association works with a customized virtual application instance. Multitenancy is the fundamental technology that clouds use to share IT resources cost-efficiently and securely.

3. REST API is a simple and powerful web service based on RESTful principles. It exposes all sorts of Salesforce functionality via REST resources and HTTP methods. For example, you can create, read, update, and delete (CRUD) records, search or query your data, retrieve object metadata, and access information about limits in your org. REST API supports both XML and JSON.Because REST API has a lightweight request and response framework and is easy to use, it’s great for writing mobile and web apps.
                                                          A REST request consists of four components: a resource URI, an HTTP method, request headers, and a request body. Request headers specify metadata for the request. The request body specifies data for the request, when necessary. If there’s no data to specify, the body is omitted from the request

Thanks
I hope it helps you let me inform if it helps you and mark your question solved with best answer :)
karthik R 80karthik R 80
Hi Piysh Soni,

Thanks for the respond,

1 ) Why over all 75% is Mandatory?
2)  how we compare Multitenancy with salesforce and other technology like Java ,.Net?Even Java can by cloud servers?
3)  Will you accept that Rest transfers less data?

Thanks,
karthik