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
MissTica
3 years ago
14

Write a class named Acc2 containing: An instance variable named sum of type integer, initialized to 0. A method named getSum tha

t returns the value of sum.
Computers and Technology
1 answer:
SSSSS [86.1K]3 years ago
4 0

Answer:

public class Acc2{

private int sum = 0;

public int getSum(){

return sum;

}

}

Explanation:

see answer

You might be interested in
Which of these statements best compares P waves and S waves of an earthquake?
vlabodo [156]
Fam Try C.<span>S waves do not travel through molten rocks but P waves travel through molten rocks.</span>
3 0
3 years ago
Anyone trying to play?
Lunna [17]

Answer:

no

Explanation:

7 0
3 years ago
Read 2 more answers
How desktop case or chassis designed?, material and steps?​
MariettaO [177]

They may require things such as plastic cut outs and glass depending if you want to be able to have a window to look into the pc. Some cases are 3D Printed although they have to be joined by screws at the end due to the fact that one whole print can take over a week and then it has to be well doesn't but looks better when sanded.

3 0
2 years ago
To back up your database, click the _____________to display Backstage view, click the Save &amp; Publish tab in the navigation b
Nuetrik [128]

Answer:

The answer is "File Tab".

Explanation:

In the database, restore is a database recovery process mechanism, that maintains administrative environment, configuration and stored software data. In the case of primary computer crashes, it helps to construct a new instance or to clone the database.

  • In this a file tab is an option, when we click on it is provides a backstage view of the file window, that deals with repositories and feature grades.
  • It helps you to do something in a database when you can make the situation within the database by putting commands on some other tabs on the Ribbon, that's why the file tab is the correct answer.
4 0
3 years ago
What is the analysis and complexity of a shell sortalgorithms?
Llana [10]

Answer: The shell sort is based on insertion sort. Here the list of elements are divided into smaller sub list which are sorted based on insertion sort.

Its best case time complexity is O(n* logn) and worst case is O(n* log^2 n)

Explanation:

Shell sort is an inplace sorting here we begin by dividing the list into sublist and sorting the list with insertion sort. We create interval for dividing the list into sub list until we reach the smallest interval of 1.

The best case is O(n* logn).

6 0
3 years ago
Other questions:
  • You have been tracking your exercise routine, which involves running, lifting weights, yoga, and stretching. You want to see wha
    15·2 answers
  • If you were asked to subnet a network in such a way as to arrive at 6 network ids you would need to borrow 2 bits.
    7·1 answer
  • Describe how the Internet Protocol (IP) allows devices to easily connect and communicate on the Internet.
    12·2 answers
  • Create a DisplayBox application that prompts the user for a height and width and then displays a box of that size. The DisplayBo
    8·1 answer
  • You can divide the code for an application into logical parts by moving some of the code from the main() method to other _______
    8·1 answer
  • Write a test program that prompts the user to enter three sides of the triangle (make sure they define an actual triangle), a co
    5·1 answer
  • Implement the above in c++, you will write a test program named create_and_test_hash.cc . Your programs should run from the term
    9·1 answer
  • How do you print "Hello World" in the console with Python? Wrong Answers Only.
    7·2 answers
  • System software includes all of the following except
    10·1 answer
  • Select 3 true statements about Python class.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!