Thanks Kai/g. Let's do an exercise where we match the methods with their
classes. Don't worry if you're not sure how to do this yet. I haven't actually
given you enough information, just go with your gut. Here's the first one.
BirthDay.getmonth. Here, the method is getmonth. "Hello world!".length, here
length is the method. Anniversary.addDays, here the method is addDays. And
lolcatsPic.draw, here the method is draw. Enter the letter for the class, in
the box next to the method call.
Gracias Cay. Vamos a hacer un ejercicio donde haremos coincidir los métodos con sus
clases. No te preocupes si aún no estás seguro de cómo se hace esto. En realidad, aún no
te he dado suficiente información, sólo fíate de tu intuición. La primera es
birthDay.getMonth (diaNacimiento.obtenerMes). Aquí, el método es getMonth. "hello world!".length (hola mundo.longitud), en este caso
lenght es el método. Anniversary.addDays (Aniversario.añadirDías), aquí el método es addDays. Y en
lolcatsPic.draw (lolcatsPic.dibujar), el método es draw. Escribe la letra para la clase en
la casilla junto al método a invocar.
Merci Cay.
Faisons un exercice où nous accordons
les méthodes avec leurs classes.
Pas d'inquiétude si vous
ne savez pas quoi faire.
Je ne vous ai pas donné assez
d'informations, suivez votre instinct.
Voici le premier.
BirthDay.getmonth.
Ici, la méthode est getmonth.
"hello world!".length,
ici length est la méthode.
anniversary.addDays,
ici la méthode est addDays.
Et lolcatsPic.draw,
ici la méthode est draw.
Entrez la lettre de la classe,
dans la case à côté de l'appel de méthode.
ではメソッドとクラスを一致させる練習問題です
まだきちんと説明していないので
わからなくても大丈夫です
まずbirthday.getMonthです
このgetMonthがメソッドになります
“hello world!” .lengthは
lengthがメソッドです
anniversary.addDaysではメソッドはaddDaysです
lolcatsPic.drawではdrawがメソッドです
メソッド呼び出しの横の欄に
該当のクラスを入れてください
감사합니다 카이. 메소드와 클래스를 맞추는 활동을 한 번 해봅시다.
뭐가 뭔지 아직 몰라도 저도 여러분께
많은 정보를 주지 않았으니 괜찮습니다.. 그냥 한 번 해보세요. 첫 번째 활동입니다.
BirthDay.getmonth 여기를 보면, 여기서 getmonth가 메소드입니다. "Hello world!".length 여기는
length가 메소드입니다. Anniversary.addDays, 여기에서는 addDays가 메소드입니다. 그리고
lolcatsPic.draw, 여기에서는 메소드가 draw입니다. 선택지에 있는 클래스와
연관된 메소드와 연결시켜 주세요.
Bedankt Cay.
Hier is een oefening waar we
de methoden met klassen koppelen.
Geen zorg als je niet weet
wat te doen.
Ik heb je niet alle informatie gegeven,
ga op je gevoel.
Dit is de eerste.
birthDay.getMonth.
Hier de methode is getMonth.
"hello world!".length,
hier is length de methode.
anniversary.addDays,
hier de methode is addDays.
En lolcatsPic.draw,
hier de methode is draw.
Voer de letter voor de klas in,
in het vak naast de methode-aanroep.
Merci, Kyle! Hai sa facem alt exercitiu in
care potrivim metodele cu
clasele. Nu te ingrijora daca nu stii
sigur cum. Nu ti-am dat
destula informatie, mergi dupa instinct.
Aici e prima:
BirthDay.getMonth. Aici, metoda e getMonth
"Hello world!".length, aici length
e metoda. Anniversary.addDays, aici
metoda e addDays. Si lolcatsPic.draw,
aici, metoda e draw. Introdu litera clasei
in casuta de langa cea a metodei.
Thanks Kai. Hãy làm một bài tập mà ta sẽ nối các methods (phương thức) với
class (lớp) của nó. Đừng lo nếu bạn không rõ cách làm bây giờ. Tôi vẫn chưa thực sự
đưa bạn đủ thông tin, cứ thử làm đi. Đây là cái đầu tiên.
birthDay.getMonth(). Đây, method là getMonth. "Hello world!".length(),
length ở đây là method. anniversary.addDays(), method ở đây là addDays.
Và locatsPic.draw(), method là draw. Hãy điền chữ cái cho class,
vào trong ô ở bên cạnh các lệnh gọi method.