computer programming with murtle the turtle. a program is a set of instructions. that tells a computer what to do. java is a programming language. java is object-oriented. an object is a thing,. like a cookie. an object belongs to a class . a class is like a cookie-cutter.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
that tells a computer what to do.
java is object-oriented.
like a cookie.
a class is like a cookie-cutter.
with one cookie-cutter?
methods define what an object can do.
murtle is an object.
GTurtle murtle = new GTurtle();
see murtle grow.
see murtle spin.
see murtle move.
so she can do things.
Don’t forget!Ctrl+1 to compileCtrl+3 to run
//Draw a bunch of squares
for (int i = 0; i < 36; i++)
//Draw a square
for (int j = 0; j < 4; j++)