Reflection (תכנות) – הבדלי גרסאות
תוכן שנמחק תוכן שנוסף
Matanyabot (שיחה | תרומות) מ בוט החלפות: לעיתים |
מ Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html] |
||
שורה 65:
=== [[PHP]] ===
<syntaxhighlight lang="php">
// without reflection
$foo = new Foo();
שורה 88:
=== [[Ruby]] ===
<syntaxhighlight lang="ruby">
# without reflection
obj = Foo.new
שורה 101:
=== [[Objective-C]] ===
<syntaxhighlight lang="objc">
// Foo class
@interface Foo : NSObject
|