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
olga55 [171]
3 years ago
14

Why is it necessary to declare an array in Java? Choose the best answer.

Computers and Technology
2 answers:
Fed [463]3 years ago
8 0

Answer:

It tells the computer to begin calculating the values

Explanation:

xxMikexx [17]3 years ago
6 0

Importance of array in Java

Following are some important points about Java arrays. Since arrays are objects in Java, we can find their length using the object property length. Java array can be also be used as a static field, a local variable or a method parameter. The size of an array must be specified by an int or short value and not long.

You might be interested in
Harry Potter and his friends are at Ollivander's with Ron, finally replacing Charlie's old broken wand. Hermione decides the bes
Step2247 [10]

Answer:

SELECT a.id, ab.age, b.min_coins_needed, b.power

FROM(SELECT code, power, min(coins_needed) AS min_coins_needed

 from Wands

 group by power, code) AS b

JOIN Wands wa

 ON a.coins_needed = b.min_coins_needed AND a.code = b.code AND a.power = b.power

JOIN Wands_property AS ab  

 ON a.code = ab.code  

WHERE ab.is_evil = 0          

ORDER BY b.power desc, ab.age DESC;              

Explanation:  

SELECT statement is used to select the columns id, age, coins_needed and power of the wands that Ron's interested in.

It is required to get the minimum coins_needed so, min() aggregate function is used to return the minimum value of coins_needed. So this is how minimum coins needed for wands with same age and power are attained and the resultant set is given the name of min_coins_needed  using alias. This is then grouped by code and power using GROUP BY because code and age has one to one mapping.

Next the JOIN is used to combine columns from two or more relations. Here Wands and Wands_property are joined to obtain id and age.

WHERE clause is used to filter the wands that are not evil.

ORDERED BY is used to sort in order of power and age, the result obtained. DESC is used to sort the result in descending order of power and age.

4 0
3 years ago
How are computers located on a network
Luba_88 [7]

Answer:

<em>When computers connect on the same network, it is called a local area network, or LAN. </em>

Explanation:

<em>The router is given the IP address for your connection to the Internet and then assigns local IP addresses to each device in your network.</em>

<em />

<em>Hope this can help you </em>

8 0
3 years ago
I keep getting this error: postfix.cpp: In function ‘double RPN_evaluation(std::string)’: postfix.cpp:42:26: error: cannot conve
Svetradugi [14.3K]

Answer:

expr.at(g) returns a string, not a char. They are not the same thing and that is what the compiler is complaining about.

3 0
4 years ago
Create a function, return type: char parameters: int *, int * Inside the function, ask for two integers. Set the user responses
iris [78.8K]

Answer and Explanation:

In C programming language:

char fun(int*a, int*b){

printf("enter two integers: ");

scanf("%d%d",a,b);

int e;

printf("please enter a character: ");

e=getchar();

return e;

}

int main(int argc, char *argv[]) {

int d;

int f;

int g;

fun();

printf("%d%d%d", d, f, g);

}

We have declared a function fun type char above and called it in main. Note how he use the getchar function in c which reads the next available character(after the user inputs with printf()) and returns it as an integer. We then return the variable e holding the integer value as char fun() return value.

4 0
3 years ago
When users access a data warehouse, their queries usually involve aggregate data. what type of software is used to perform these
iragen [17]

When users access a data warehouse, their queries usually involve aggregate data. These type of software is used to perform these queries OLAP

<h3>what is OLAP?</h3>
  • OLAP (online analytical processing) is a computing strategy that allows users to easily and selectively extract and query data to explore it from various issues of view.
  • OLAP industry brain queries often aid in trends analysis, financial reporting, sales forecasting, budgeting, and other planning purposes.
  • For example a user can ask that data be analyzed to portray a spreadsheet displaying all of a business's beach ball effects sold in Florida in July, compare income figures with those for the same effects in September, and then see a comparison of other product sales in Florida in the same period.

To learn more about OLAP, refer to:

brainly.com/question/26691784

#SPJ4

4 0
2 years ago
Other questions:
  • To create smartart, switch to the insert tab and use a button in the ____ group.
    12·1 answer
  • You are trying to access the Wi-Fi network at a coffee shop. What protocol will this type of wireless networking most likely use
    11·1 answer
  • What software development model focuses on improving the product in small steps each time through the cycle?
    14·2 answers
  • PLZ HELP ME ITS URGENT PlZ PLZ PLZ
    11·1 answer
  • What will you do to run a presentation from a computer on which you did not prepare the presentation, and how?
    13·1 answer
  • Discuss the importance of top management commitment and the development of standards for successful project management. Provide
    10·1 answer
  • Which term originated on social media?<br> O A. LOL<br> O B. Unlike<br> O C. Notebook<br> D. Word
    7·2 answers
  • define the physical components of hardware for a computer system,including identifying internal hardware devices(e.g. processor,
    11·1 answer
  • Que papel tuvo la innovación en la propagación de la telefonía móvil?​
    7·1 answer
  • Configuring a firewall to ignore all incoming packets that request access to a specific port is known as ____.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!