1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sleet_krkn [62]
3 years ago
6

What is a relationship between a object and a class?

Computers and Technology
1 answer:
rusak2 [61]3 years ago
8 0

An object is an instance of a class.

Further Explanation:

Class is an object oriented paradigm that is used to represent real-world objects in OOP. A class is like a blueprint which can be sued to make further instances of the same type. The instances are known as objects. The existence of class is logical while the existence of object is physical as it also takes space in memory. The class is declared only one while the objects can be created as many as are required.

Hence, object is an instance of the class.

Learn more at:

  • brainly.com/question/9612139
  • brainly.com/question/8839455

#LearnwithBrainly

You might be interested in
The benefit from dividing code into methods known as ________ is gained as follows: After you write code to perform a task once,
Fynjy0 [20]

Answer: B: Divide and Conquer

Explanation:

7 0
3 years ago
What kind of Encryption is this:
VMariaS [17]

The Encryption of a website

4 0
3 years ago
You are given an unsorted array x of elements that implement the Comparable interface. There are no duplicates in this array. Yo
Andrei [34K]

Answer:

boolean isEven = false;

if (x.length % 2 == 0)

isEven = true;

Comparable currentMax;

int currentMaxIndex;

for (int i = x.length - 1; i >= 1; i--)

{

currentMax = x[i];

currentMaxIndex = i;

for (int j = i - 1; j >= 0; j--)

{

if (((Comparable)currentMax).compareTo(x[j]) < 0)

{

currentMax = x[j];

currentMaxIndex = j;

}

}

x[currentMaxIndex] = x[i];

x[i] = currentMax;

}

Comparable a = null;

Comparable b = null;

if (isEven == true)

{

a = x[x.length/2];

b = x[(x.length/2) - 1];

if ((a).compareTo(b) > 0)

m = a;

else

m = b;

}

else

m = x[x.length/2];

8 0
3 years ago
Describe three ways to call attention to the text on a web page.
vichka [17]

Answer:

Underline the important text.

Make Links a Different Colour.

Making visual adjustments such as making text bold, making it italicized, making it ALL CAPS.

8 0
3 years ago
Which statement is true about laptops? Laptops use fewer components than desktops use. Most of the internal components that are
elena-14-01-66 [18.8K]

Answer:

Option 2 is correct.

Explanation:

Option 2 is correct because most of the components used in laptop is far different from Desktops. They are not able to fix in desktops. They are designed specially for laptops.

8 0
3 years ago
Read 2 more answers
Other questions:
  • What file format can excel save files as
    10·1 answer
  • Briefly explain what is net neutrality and why is it important today
    15·1 answer
  • In his article “is google making up stupid” Nicholas Carr uses a metaphor to suggest that
    11·2 answers
  • 5.During a recent network attack, a hacker used rainbow tables to guess network passwords. Which type of attack occurred
    9·1 answer
  • (PLEASE HELP)
    5·1 answer
  • Compared with other PC operating systems, the Linux-based operating systems:
    13·1 answer
  • GIVING BRAINLIEST
    15·1 answer
  • A _______ attack uses software to try thousands of common words sequentially in an attempt to gain unauthorized access to a user
    9·2 answers
  • 2 what is deep learning?
    5·1 answer
  • The _________________ can be used to repair common causes of unbootable operating systems. It is based on the Windows Preinstall
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!