Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1,5 +0,0 @@
package Multiple_Interfaces is
type Camera is tagged null record;
type Mobile_Phone is limited Interface;
type Camera_Phone is new Camera and Mobile_Phone with null record;
end Multiple_Interfaces;

View file

@ -1,21 +0,0 @@
IDENTIFICATION DIVISION.
CLASS-ID. Camera.
*> ...
END CLASS Camera.
IDENTIFICATION DIVISION.
CLASS-ID. Mobile-Phone.
*> ...
END CLASS Mobile-Phone.
IDENTIFICATION DIVISION.
CLASS-ID. Camera-Phone
INHERITS FROM Camera, Mobile-Phone.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
REPOSITORY.
CLASS Camera
CLASS Mobile-Phone.
*> ...
END CLASS Camera-Phone.

View file

@ -15,10 +15,10 @@ class CameraPhone : MobilePhone
dispatch() => CameraFeature;
}
public program()
public Program()
{
var cp := new CameraPhone();
console.writeLine(cp.cameraMsg);
console.writeLine(cp.mobileMsg)
Console.writeLine(cp.cameraMsg);
Console.writeLine(cp.mobileMsg)
}

View file

@ -17,10 +17,10 @@ singleton CameraPhone
new() = new MobilePhone().mixInto(new CameraFeature());
}
public program()
public Program()
{
var cp := CameraPhone.new();
console.writeLine(cp.cameraMsg);
console.writeLine(cp.mobileMsg)
Console.writeLine(cp.cameraMsg);
Console.writeLine(cp.mobileMsg)
}

View file

@ -1,3 +0,0 @@
class Camera {}
class MobilePhone {}
class CameraPhone : Camera, MobilePhone {}