Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Explore our Q&A platform to find in-depth answers from a wide range of experts in different fields. 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.