1.1. Write a front-end class called Debug and save it in a file called Debug.cpp. This class must have the following structure: Public Members Data Type Name Description This static member will store the display state of the class. boolean ACTIVE Public Methods Return Type void Method Signature log(string className, string methodName, string message) Description This static method must display a message on the console. This method should only contain the following instruction: cout<<"\NDEBUG - "<

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question
1.1.
Write a front-end class called Debug and save it in a file called Debug.cpp. This class must have the following structure:
Public Members
Data Type
Name
Description
This static member will store the display state of the class.
boolean
АCTIVE
Public Methods
Description
This static method must display a message on the console. This method
should only contain the following instruction:
Return Type
Method Signature
log(string className, string methodName, string
message)
void
cout<<"\NDEBUG - "<<className<<"."<<methodName<<"(): "<<message;
Transcribed Image Text:1.1. Write a front-end class called Debug and save it in a file called Debug.cpp. This class must have the following structure: Public Members Data Type Name Description This static member will store the display state of the class. boolean АCTIVE Public Methods Description This static method must display a message on the console. This method should only contain the following instruction: Return Type Method Signature log(string className, string methodName, string message) void cout<<"\NDEBUG - "<<className<<"."<<methodName<<"(): "<<message;
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage