Activity Forums Salesforce® Discussions What is difference between namespace and class in salesforce?

  • Marziya

    Member
    April 14, 2020 at 1:27 pm

    Hii ayush,
    Classes are data types. They are an expanded concept of structures, they can contain data members, but they can also contain functions as members whereas a namespace is simply an abstract way of grouping items together. ... Using a class implies that you can create an instance of that class, not true with namespaces

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos