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
Suresh RaghuramSuresh Raghuram 

clarification on the following terms

what is the diff b/w sObject and Object

 

what is sControl

 

currently i am learning to write code for triggers, classes , and test classes. Planning to learn about visualforce pages what is the next concept that i need to learn for improving my code development skills

 

I will be very glad for your time and help

dipu2dipu2

SObject stands for Salesforce Object. Generally what you call a table is called Object in Salesforce Apex code and Salesforce lingo. 

So the Account table is called  Account Object.

 

In Apex code a table is referred as SObject All other objects are simply object. Apex is derived from Java.  In Java any data holder in your code is an object unless it is primitive data type like int, long, char.

 

In Apex code any data holder(aka variable) is an object. The data holder for records in a table is called SObject. Just like anything else it is also a spacial type of Object.

 

Try the following code. Only the last statement will fail.

 

SObject obj1 = new Account();
Object obj2 = new Account();
obj2 = obj1;
Object num = 2.2;
Decimal num2 = 3.2;
SObject num3 = 2.3;//fails

 

 

bobo

SControl is an obsolete technology, replaced by VisualForce.

 

http://wiki.developerforce.com/page/S-Control_Deprecation