Question: Modula-2 provides no way to divide the header of a module into a public part and a private part: everything in the header is visible
Modula-2 provides no way to divide the header of a module into a public part and a private part: everything in the header is visible to the users of the module. Is this a major shortcoming? Are there disadvantages to the public/private division (e.g., as in Ada)?
Step by Step Solution
★★★★★
3.45 Rating (165 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
As discussed in Sidebar 101 the private part of a module header or class declaration provi... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
