Computer Science, asked by Joanna719, 10 months ago

When programmers need to create several different examples of a class, each is known as an object"?

Answers

Answered by dust
0

Answer:

Objects are created whenever stateful instance of class is needed.

Explanation:

Class is a "pattern", and object is a stateful "instance" created from that pattern.

for example, lets assume that we have a class named "Student"

Student class will have all the details needed to represent a student, so "pattern/definition" is good analogy for understanding a "class".

now, let's create few objects, to represent actual students (based on defintion of student in class)

jane = new Student();

john = new Student();

jake = new Student();

now we have "3 different examples of a class, namely jane, john, jake".

Each of these examples of a class are called object/instance of that class.

and each of them have a state, that means you can change them individually without affecting other examples(instances) of that class.

in other words, you can safely change jane, without influencing john/jake or vice-versa.

Answered by Anonymous
0

Explanation:

Answer:

fe80

Explanation:

IPV6 addresses starting with fe80 are called link local address, Routers do not forward this range to internet because fe80 prefix is reserved by AINA for link local addressing purpose.

Similar questions