20111010

20111010 - Office of Instructional and Research Week 6...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Office of Instructional and Research Week 6 Object-Oriented Programming ITI 202 Office of Instructional and Research This week: Monday Quiz Review Methods Team Coding Wednesday More Team Coding Office of Instructional and Research Announcements Week 6 Blog You and Your Code This week I'd like you to discuss any of the concepts we've covered so far that are still a little hazy or unclear for you. If everything is clear, what challenges do you see moving into the second team assignment? Blogs should be submitted by 11:59pm, Sunday October 16th. Office of Instructional and Research 1 st Fundamental of Object Oriented Programming Encapsulation The ability of an object to be a container for related properties and methods. public static int box(int l,int w,int h) Office of Instructional and Research So lets take a closer look at what we used static void printYikes() Using the definition above, calling the method printYikes requires how many parameters? Office of Instructional and Research Methods How Do We Use Them? Return_data_type Only primitive data types Return varName; Parameter_list May include zero or many datatype varName pairs Primitive data types or objects (such as arrays) can be passed. static int loopOfMath (int x, int y) Office of Instructional and Research So lets take a closer look at what we used static void printYikes () Using the definition above, calling the method printYikes requires how many parameters? static int doubleMyNumber (float a) Using the definition above, the method doubleMyNumber takes what type of variable as an argument? Office of Instructional and Research So lets take a closer look at what we used static int doubleMyNumber(float a) Using the definition above, the method doubleMyNumber returns what type of value? Office of Instructional...
View Full Document

This note was uploaded on 02/20/2012 for the course 547 202 taught by Professor Crosbie,w during the Fall '08 term at Rutgers.

Page1 / 21

20111010 - Office of Instructional and Research Week 6...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online