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
TiliK225 [7]
3 years ago
12

Look at the following partial class definition, and then respond to the questions that follow it:

Computers and Technology
1 answer:
zhannawk [14.2K]3 years ago
4 0

Solution :

a.

public Book($\text{String title}$, String author, $\text{String publisher}$, int $\text{copiesSold}$) {

 this.$\text{title}$ = $\text{title}$;

 this.$\text{author}$ = $\text{author}$;

 this.$\text{publisher}$ = $\text{publisher}$;

 this.$\text{copiesSold}$ = $\text{copiesSold}$;

b). $\text{public String}$ getTitle() {

 return $\text{title}$;

}

$\text{public void}$ setTitle($\text{String title}$) {

 this.$\text{title}$ = $\text{title}$;

}

$\text{public String}$ getAuthor() {

 return author;

}

$\text{public void}$ setAuthor(String author) {

 this.$\text{author}$ = $\text{author}$;

}

$\text{public String}$ getPublisher() {

 return $\text{publisher}$;

}

$\text{public void}$ setPublisher(String $\text{publisher}$) {

 this.$\text{publisher}$ =$\text{publisher}$;

}

public int get$\text{copiesSold}$() {

 return $\text{copiesSold}$;

}

$\text{public void}$ set$\text{copiesSold}$(int $\text{copiesSold}$) {

 this.$\text{copiesSold}$ = $\text{copiesSold}$;

}

You might be interested in
Read the following code:
sergejj [24]

Answer:

0

1

2

3

4

5

Explanation:

The loop first prints when n is still 0, so 0 is in the list.

The loop still executes when n = 5, so 5 must also be in the list.

6 0
3 years ago
What is the financial aspect for a business as to what database software they will buy?
Masteriza [31]

Answer:  Database software is bought on basis of the processing, cost, requirement etc for any particular . According to the financial perspective the database  software should have the following characteristics:-

  • Database software that has most accurate and main feature according to the business requirement is selected for buying and the others with extra features are not considered as more feature cost more amount  which is not needed.
  • Database software which is still in progress to be built is pre-booked and money is invested on it because the price of the required software might increase after getting completed.
  • Scalable database software should be bought so that it can extend according to need at low cost.

 

8 0
4 years ago
What is prototyping in system design phase? Under what condition this approach is most suited? Also what is the disadvantage of
Novay_Z [31]
Prototyping refers to the process of developing prototypes. Prototype model is most suitable for use when the desired system requires a lot of interaction with the end users. One of the disadvantages of prototyping is the extra funds that is spent on the development of the prototypes. Another disadvantage is the accuracy of the prototype. 
8 0
3 years ago
An administrator helps a user obtain an Internet connection through connecting a laptop with a smartphone via a cable. What has
frez [133]
The administrator set up tethering
8 0
3 years ago
What tool enables you to easily delete, add, or resize filesystems without regard to their physical locations on a hard disk?
frosja888 [35]

Answer:

Logical Volume Management Tool

Explanation:

With Logical Volume Management(LVM), administrators and even users are offered a more flexible approach of managing space in disk storage. LVM provides method for sharing space(volume) on large storage devices (such as hard disk) with such greater flexibility than conventional partitioning strategies to store data. With LVM, users can easily duplicate, delete, add, resize and even file systems without much information about their physical locations on the storage device.

<em>Hope this helps!</em>

7 0
3 years ago
Other questions:
  • Wi-Fi is all around us. Is there any downside to its pervasiveness?
    11·1 answer
  • write a 〕ava program to sort a random list of 10 numbers entered b y user in an array using Selection Sort technique
    5·1 answer
  • There are several vehicles in a parking lot. Some of them are motorcycles
    8·2 answers
  • Why would a designer choose to use an isometric sketch rather than a perspective sketch to share their idea with a design team m
    14·1 answer
  • Which of the following is NOT true about functions? They go below the main program in the source code file. They do a single tas
    10·1 answer
  • Why do you think Google+'s engagement levels are so low? Do you think they will rise as people become more familiar with the soc
    12·1 answer
  • In ____________, a large address block could be divided into several contiguous groups and each group be assigned to smaller net
    7·1 answer
  • (Please hurry will give brainliest and anything else please Due in 5 min)
    9·2 answers
  • Define ; proprietary software.​
    6·1 answer
  • Jason is using his mother's computer. He plugs in his flash drive, but it does not appear in the explorer window. Suggest what J
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!