Showing posts with label MNC SALESFORCE DEVELOPER INTERVIEW QUESTIONS. Show all posts
Showing posts with label MNC SALESFORCE DEVELOPER INTERVIEW QUESTIONS. Show all posts

Friday, January 4, 2013

MNC Company Salesforce Interview Questions

                SALESFROCE DEVELOPER TELEPHONIC QUESTIONS



1  About Your Current project?
2    How can you rate yourself in apex and in  visualforce?
3    can we use soql in for loop?if  yes how can we use? What is the difference between standard soql and soql forloop?is there any governorlimit?

Ans: SOQL for loops iterate over all of the sObject records returned by a SOQL query. The syntax of a SOQL for loop is either:

1)for (variable : [soql_query]) {
    code_block
}

2)

for (variable_list : [soql_query]) {
    code_block
}

Both variable and variable_list must be of the same type as the sObjects that are returned by the soql_query. As in standard SOQL queries, the [soql_query] statement can refer to code expressions in their WHERE clauses using the :

String s = 'Acme';
for (Account a : [SELECT Id, Name from Account
                  where Name LIKE :(s+'%')]) {
    // Your code
   
}

SOQL For Loops Versus Standard SOQL Queries:

SOQL for loops differ from standard SOQL statements because of the method they use to retrieve sObjects. While the standard queries discussed in SOQL and SOSL Queries can retrieve either the count of a query or a number of object records, SOQL for loops retrieve all sObjects, using efficient chunking with calls to the query and queryMore methods of the SOAP API. Developers should always use a SOQL for loop to process query results that return many records, to avoid the limit on heap size.

4) What is the use of static keyword?can we declare the variable outside of the class?

Ans:when you declare a method or variable as static,its initialized only once when a class is loaded .Static variable aren’t transmitted as  part  of the view state for a visualforce page.

Static variable are only static with in the scope of the request.They  are not static across the server,or across the entire organization.


5)What are different accress modifiers?

Ans:public,private,global,protected

6)what is difference b/w public and public withsharing?
7) Suppose i am create validation rule in backend,also create validation rule in front end,which one is first fire?

8)
difference b/w lookup and masterdetail?
9)
difference b/w list and set?
10)junction object?
11)In junction object we have two master details so ,if we delete one master detail what will happen?

12) wht is custom controller and extension?

13)
diff b/w input field and out field tags in visual force?

14)
whats the use of  test class?

15)
how can we deploy the project in salesfroce?


how can we update trigger in test class?


Ø  whts customizations done in  current project?


Ø  wht workflow u create in current project?


Ø  how can  pass variable from class to visualforce page?


Ø  what is content management?


Ø  how can we send content to customers?
Ans: A content delivery allows you to easily convert documents such as Microsoft® PowerPoint and Word files into an optimized web-based version for easy online viewing. Once you create your delivery, you can send its encrypted URL to any recipient, such as leads, customers, partners, and colleagues, and then track how often the content is viewed or downloaded. In addition to tracking, content deliveries provide several benefits over sending files as attachments, such as giving you control over how long the delivery is available to viewers and whether a viewer can download a file or see it online only

Ø  in content management files and libaraies ,which one is mandatory?


Ø  expalin about remote action?

Defines Apex controller methods that javascript code can call from a visualforce page via javascript remoting.The method must be static and either public or global.