You should understand two important object-oriented terms: object and class. A class is a description of an object, and an object is an instance of a class. In Java, you write classes. Because Java is purely object oriented, all of the statements in your Java programs appear inside a Java class. Notice that the Hello, World program in a public class. We will discuss public in detail later, but for now I will just say that almost every class you write in Java will be declared public. The purpose of a class is to describe an object. An object is just what the word means in English: a thing, an item, a noun. For example, a car, a house, an employee of a company, a window that opens on the computer screen, or a TCP/IP socket connection between two computers.
Important object-oriented terms: object and class
Monday, November 2, 2009
|
digg it
Leave your comment
Posted by Nine Seas
Archives
-
▼
2009
(52)
-
►
October
(14)
- Java Run time Environment
- write Java programs
- Technologies in J2EE
- Java 2 Enterprise Edition
- Tools for developing and running Java applications...
- Version of the JDK
- Development tools in SDK
- Installing SDK
- HelloWorld Program
- writing the code for our Java program
- A Simple Java Program
- Help topics for javac
- Identifiers
- Variables
-
►
October
(14)
Categories
- assignment
- binary
- bits
- boolean
- built in data type
- c++
- car accessories
- char
- class
- combined
- compile
- compiler
- component
- criterion
- data type
- decrement
- development tools
- Directv packages
- elegant
- error
- exclusive
- expression
- final
- float
- hidden Objects
- HTML
- increment
- int
- j2ee
- java
- java program
- javac
- javadoc
- jdk
- JRE
- JVM
- least-significant
- likely outcome
- liposuction
- literal
- lunch
- Mac
- math
- menus
- money
- object
- Object oriented
- OOPS
- operands
- operator
- operators
- positive and negative
- problems
- quotes
- reference
- sdk
- shopping
- shopwiki
- Signature
- simple program
- Solaris
- solitaire
- stored
- true or false
- truth table
- types
- types of comment
- types of control flow
- underscore
- unicode
- Unix
- variable


No Responded To This Post
Leave A Reply