• Garima S
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Please explain briefly...how to reduce the view state n how solve the nullpointer give me one example
Hello All,
public class AccRatingUpdate
{
    list<account> acclist=[select id, name , rating from account];
    for(account acc: acclist)
    {
      
        
    }
}

kindly help me with the above code and its error