This website requires JavaScript.
Explore
Help
Sign In
mycroft
/
zlox
Watch
1
Star
0
Fork
0
You've already forked zlox
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
22ed27a931
zlox
/
samples
/
ch28_methods_initializers.lox
5 lines
68 B
Plaintext
Raw
Normal View
History
Unescape
Escape
implementing methods and initializers (ch28)
2024-08-31 10:24:48 +02:00
class Brunch {
implementing instance initializers
2024-08-31 11:32:05 +02:00
init(food, drink) {}
implementing methods and initializers (ch28)
2024-08-31 10:24:48 +02:00
}
implementing instance initializers
2024-08-31 11:32:05 +02:00
Brunch("eggs", "coffee");
Reference in New Issue
Copy Permalink