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
vitfil [10]
3 years ago
11

This semester we looked at three languages (C++, Java and Python). One common rule in all three class checklists (for C++, Java

and Python) was a logical equivalence (equals) function. In C++ it was operator==; in Java it was equals; and in Python it was __eq__. Why does this rule exist in all three languages?
Computers and Technology
1 answer:
Marysya12 [62]3 years ago
5 0

Answer:

The languages C++, Java, Python are Object Oriented Programming languages. What this means is that we create classes and then instantiate those classes. In C++ and Java, we use the new operator to instantiate the classes. So, if we want to display some data when we try to print the instance just like we print the variables of data types like int, double, string etc, we need to define what we need to display. It is because, class are just like data types like int, double etc. But as they are defined by the developer according to his/her needs, so the developer has to define what to print when they are printed.

You might be interested in
A website must have a unique address with all the following features
7nadin3 [17]

Answer:

Considering it's just the 'Address' as in the weblink the weblink doesn't need Option E -

Explanation:

5 0
3 years ago
Which TWO of the following are input devices that are parts of a laptop computer?
vampirchik [111]

Answer:

Mouse and Keyboard.

3 0
3 years ago
Read 2 more answers
According to the lecture, ____________ tend to communicate about emotions, experiences and relationships.
Vlad [161]

Answer:

Woman

Explanation:

8 0
3 years ago
Read 2 more answers
Most source code is typically available on the internet in tarball format or as a git repository. True or false?
Greeley [361]

Most source code is typically available on the internet in tarball format or as a git repository. Therefore, it's true.

<h3>What is a source code?</h3>

It should be noted that a source code simply means programming statement that area created by the programmer and saved in a file.

In this case, most source code is typically available on the internet in tarball format or as a git repository. Therefore, it's true.

Learn more about source code on:

brainly.com/question/4593389

#SPJ12

4 0
2 years ago
One interesting application of computers is to display graphs and bar charts. Write an application that reads five numbersbetwee
mojhsa [17]

Answer:

this solution was written in c programming language

Explanation:

#include <stdio.h>

int main(void)

{

int i, j, number;

/* ask user for numbers */

printf("Enter 5 numbers between 1 and 30: ");

/* repeat 5 times */

for (i = 0; i < 5; i++)

{

 /* read in number */

 scanf("%d", &number);

 /* print that number of stars */

 for (j = 0; j < number; j++)  

 {

  printf("*");

 }

 /* bring cursor to next line */  

 printf("\n");

}

return 0;

}

8 0
3 years ago
Other questions:
  • Your Economics teacher has asked you to create a chart showing how supply and demand affects the price of gasoline. Which applic
    11·1 answer
  • Gary lives in an area that receives a lot of rain throughout the year. which device would be useful to him to maintain his compu
    8·1 answer
  • In case of an emergency, once you or someone already on the scene has contacted 9-1-1, the next thing to do is: A) Move them to
    9·2 answers
  • A palindrome is any word, phrase, or sentence that reads the same forward and backward. Here are some well-known palindromes: Ab
    11·1 answer
  • Holi alguien sabe como cambiar el gamertag en XBox App (para iOS)?
    9·1 answer
  • The function retrieveAt of the class arrayListType is written as a void function. Rewrite this function so that it is written as
    10·1 answer
  • What are programs that are installed without the user knowing
    7·1 answer
  • What are some benefits that each computer system being used?
    12·2 answers
  • Why computer is used in education sector<br>​
    7·2 answers
  • What year does futurist ray kurzweil believe ai will meet human intelligence?.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!