Chapter 1 Definitions

object-  Java object model objects from a problem domain

class- objects are created from classes. The class describes the kind of object; the objects represent individual instantiations of the class.

instance- An object of a particular class. In programs written in the Java programming language, an instance of a class is created using the new operator followed by the class name.

method- We can communicate with objects by invoking methods of them. Objects usually do something if we invoke a method.

signature- The header of a method is called its signature. It provides information needed to invoke that method

parameter- Methods can have parameters to provide additional information for a task.

type- Parameters have types. The type defines what kind of values a parameter can take.

state- Objects have state. The state is represented by storing values in fields.

source code- The source code of a class determines the structure and the behavior (the fields and methods) of each of the objects in that class.

return value- A Java keyword used to finish the execution of a method. It can be followed by a value required by the method definition.

compiler- A program to translate source code into code to be executed by a computer. The Java compiler translates source code written in the Java programming language into bytecode for the Java virtual machine.

Advertisement

1 comment so far

  1. aaronlewis21 on

    all the definitions are here. very good.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.