This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE Daftar_Denda ( | |
Id_Denda varchar(25) NOT NULL, | |
Judul_Denda varchar(100) NOT NULL, | |
Nominal_Denda int(10) NOT NULL, | |
Keterangan varchar(100), | |
PRIMARY KEY (Id_Denda)); | |
CREATE TABLE Departemen ( | |
Id_Departemen varchar(10) NOT NULL, | |
Nama_Departemen varchar(50) NOT NULL, | |
FakultasId_Fakultas varchar(10) NOT NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
From: A Gentle Introduction to Data Structures: How Stacks Work | |
By: Michael Olorunnisola | |
https://medium.freecodecamp.com/data-structures-stacks-on-stacks-c25f2633c529 | |
**/ | |
class Stack { | |
/** | |
the underscore before the variable names signifies to other developers these variables are private, | |
and shouldn’t be manipulated externally, only by the methods on the class |