© Oscar Nierstrasz ST — xxx X.1 Class Methods - Class Instance Variables  Classes (Packet class) represents class (Packet).  Class instance variables.

Slides:



Advertisements
Similar presentations
the Week & Months of the Year
Advertisements

Months of the year December January November October February
Calendar.
Learn all about the year.
SUNDAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY
Chubaka Producciones Presenta :.
The Months and The Seasons Prepared by Claudia Doria and Terra Myers.
2012 CALENDAR. JANUARY 2012 Sunday 日 Monday 月 Tuesday 火 Wednesday 水 Thursday 木 Friday 金 Saturday 土
7. Understanding Classes and Metaclasses. © Oscar Nierstrasz ST — Understanding Classes and Metaclasses 7.2 Roadmap  Metaclasses in 7 points  Indexed.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt CalendarTime.
2012 JANUARY Sun Mon Tue Wed Thu Fri Sat
January 2012 Monday Tuesday Wednesday Thursday Friday Sat/ Sun / /8 14/15 21/22 28/
The days of the week Saturday Sunday Monday Tuesday Wednesday Thursday
P Pathophysiology Calendar. SundayMondayTuesdayWednesdayThursdayFridaySaturday January 2012.
Stéphane Ducasse«ChapterNr».1 Advanced Classes Indexed Classes Classes as Objects Class Instance Variables and Methods Class Variables Pool Dictionaries.
Chicas, este calendario si es pa' nosotras !!!!!.
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY WEEK WEEK WEEK WEEK WEEK CALENDAR PROJECT.
MATHEMATICS Time – Dates, Calendars and Timetables.
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSAT/SUN Note: You can print this template to use as a wall calendar. You can also copy the slide for any month to add.
School Year Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
School Year Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
2007 Monthly Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.

You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d like to change.
What day is today? What`s the date?. Sunday Monday Tuesday Wednesday Thursday Friday Saturday What day is today?
VOCABULARY Vacation Review May HFW List 1 Pronounce the following words: things always day become nothing stays everything.
The Quiz in Green school. She sells sea hells on the sea shore. A black cat sat on a mat and ate a fat rat.
WORD JUMBLE. Months of the year Word in jumbled form e r r f b u y a Word in jumbled form e r r f b u y a february Click for the answer Next Question.
DATE POWER 2 INCOME JANUARY 100member X 25.00P2, FEBRUARY 200member X 25.00P5, MARCH 400member X 25.00P10, APRIL 800member.
Months of the year. jANUARY New year’s day fEBRUARY Valentine’s day.
Calendar for 2011 Months of the Year with Holidays.
By Monica Hilgemann Second Grade Teacher
Stéphane Ducasse 1 Some Advanced Points on Classes.
2011 Calendar Important Dates/Events/Homework. SunSatFriThursWedTuesMon January
What can we do in English?. Can you count in English? Count from one to ten and vice versa. Count from ten to twenty and vice versa. Can you continue.
Our birthdays. Learn the 12 months of the year. 1 January 2 February 3 March 4 April 5 May 6 June 7 July 8 August 9 September 10 October 11 November 12.
NHS Meetings Calendar All Meetings are at 2:20pm unless otherwise stated This logo denotes a General Meeting. This means that ALL MEMBERS must.
TEMPORAL VISUALIZATION OF DATA FROM THE FRENCH SENTINEL NETWORK.
VOCABULARY Vacation Review May HFW List 1 Read aloud the following words: things always day become nothing stays everything.
The Calendar.
July 2007 SundayMondayTuesdayWednesdayThursdayFridaySaturday
S.Ducasse Stéphane Ducasse 1 Some Advanced Points on Classes.
EVERY WEEK Every week has seven days, See how many you can say.
Agenda MC Aug 13.
Dictation practice 2nd Form Ms. Micaela-Ms. Verónica.
TIMELINES PHOTOS This is an example text
TIMELINES PHOTOS This is an example text
McDonald’s Kalender 2009.
McDonald’s Kalender 2009.
13-block rotation schedule
1   1.テキストの入れ替え テキストを自由に入れ替えることができます。 フチなし全面印刷がおすすめです。 印刷のポイント.
2017/18 Payment Calendar Due Date Cut-off Day 1st of every month
McDonald’s Kalender 2009.
Problem Gambling Clicks to Opgr.org
2300 (11PM) September 21 Blue line is meridian..
McDonald’s calendar 2007.
1 - January - Sun Mon The Wed Thu Fri Sat
Proud As A Peacock! We are very proud of__________________
Teacher name August phone: Enter text here.
JANUARY 1 Sun Mon Tue Wed Thu Fri Sat
JANUARY 1 Sun Mon Tue Wed Thu Fri Sat
February 2007 Note: Source:.
MONTHS OF THE YEAR January February April March June May July August
JANUARY 1 Sun Mon Tue Wed Thu Fri Sat
McDonald’s calendar 2007.
Production Month Sun Hours K Monthly Kwh Tou Peak Value After Kwh
Habitat Changes and Fish Migration
2015 January February March April May June July August September
Habitat Changes and Fish Migration
Presentation transcript:

© Oscar Nierstrasz ST — xxx X.1 Class Methods - Class Instance Variables  Classes (Packet class) represents class (Packet).  Class instance variables are instance variables of class  They should represent the state of class: number of created instances, number of messages sent, superclasses, subclasses....  Class methods represent class behavior: instance creation, class initialization, counting the number of instances....  If you weaken the second point: class state and behavior can be used to define common properties shared by all the instances

© Oscar Nierstrasz ST — xxx X.2 Class Initialization  How do we know that all the class behavior has been loaded?  At the end !  Automatically called by the system at load time or explicitly by the programmer.  Used to initialize a classVariable, a pool dictionary or class instance variables.  ‘Classname initialize’ at the end of the saved files in Squeak  In postLoadAction: in VW

© Oscar Nierstrasz ST — xxx X.3 Example of class initialization  Magnitude subclass: #Date  instanceVariableNames: 'day year'  classVariableNames: — 'DaysInMonth FirstDayOfMonth MonthNames SecondsInDay WeekDayNames’ 

© Oscar Nierstrasz ST — xxx X.4 Date class>>initialize  Date class>>initialize  "Initialize class variables representing the names of the months and  days and the number of seconds, days in each month, and first day of each month. "  MonthNames := #(January February March April May  June July August September October November December ).  SecondsInDay := 24 * 60 * 60.  DaysInMonth := #( ).  FirstDayOfMonth := #( ).  WeekDayNames := #(Monday Tuesday Wednesday Thursday Friday Saturday Sunday )