Welcome to Westonci.ca, your ultimate destination for finding answers to a wide range of questions from experts. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

create a class resource. the class should have: a) two private variables status and writeto representing integer value either 0 or 1. b) one default constructor that initializes the status and writeto to zero. c) one single parameterized constructor to initialize the writeto variable. d) two constant accessor functions per class that return the values of status and writeto separately.