In database design, object-oriented programming, and knowledge representation, we often describe the relationship between two things as either "is-a" or "has-a" (but not both).
For example,
An avocado "is-a" fruit. (An avocado is a specific kind of fruit. A fruit is a generalization of things like an avocado. An avocado has all the things and characteristics that all fruit have -- an outer skin, an edible flesh, grows on plants, etc.)
An avocado "has-a" seed. (An avocado contains a seed. The seed is one of several parts of an avocado.)
(Many people find this "is-a" term more understandable than the terms "meronym" and "hyponym").
When writing computer programs, confusing these two kinds of relationships is a common source of bugs.
The "is-a" relationship is often represented in a program using "class inheritance", subclasses (and superclasses).
The "has-a" relationship is often represented in a program using a class variable.
The class variable is typically a basic type for exclusive things, such as "birthday".
The class variable is typically a reference to a class as a class variable for shared items, such as "mother".
is-a relation ship with inheritance like apple is a fruit and has-a relationship with its object like apple has a seed
Unix is an operating system, Java is a language.
Rowset
difference between constant and static variables in java
Java or Java SE comes with the standard library, with all the crazy classes to make life easy. Java Core does not come with most of these classes, so that it is a lot smaller.
both are mobile operating syms but sybm is more faster than the java
They are different versions. Java 5 is newer than Java 2. Think of it like the difference between the Playstation 1 and the Playstation 3.
Java is object oriented, C is not...
kamina
kamina
Unix is an operating system, Java is a language.
Rowset
JAD-Java Application Description JAR-Java archive
java is a programming language/platform that embodies object oriented programming concepts. The question of what is the difference is like asking what is the difference between cars and a Volvo.
Java doesn't have pointers. C++ has pointers.
Both are same
difference between constant and static variables in java
Windows is an operating system whereas Java is a programming language. They are entirely different.