nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
doc: french doc "développez en Nit"
[nit.git]
/
doc
/
developpez
/
poo
/
listings
/
interface_c.nit
1
interface
AfficheType
2
fun
afficherType
is abstract
3
end
4
5
class
Personne
6
super
AfficheType
7
8
redef fun
afficherType
9
do
10
print
"Je suis une personne"
11
end
12
13
end
14
15
class
Voiture
16
super
AfficheType
17
18
redef fun
afficherType
19
do
20
print
"Je suis une voiture"
21
end
22
end