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
devlian [24]
3 years ago
4

Write the definition of a class PlayListEntry containing: An instance variable title of type String, initialized to the empty St

ring. An instance variable artist of type String, initialized to the empty String. An instance variable playCount of type int, initialized to 0. In addition, your PlayList class definition should provide an appropriately named "get" method and "set" method for each of these. No constructor need be defined.
Computers and Technology
1 answer:
Anna35 [415]3 years ago
5 0

Answer:

public class PlayListEntry {

string title="";

string artist="";

int playCount=0;

void  SetTitle(string title){

this.title=title;

}

string GetArtist(){

return this.artist;

}

void  SetArtist(string artist){

this.artist=artist;

}

int GetplayCount (){

return this.playCount ;

}

void  SetplayCount (int playCount ){

this.playCount =playCount ;

}

}

Explanation:

Here in above class we are taking instance variables and assigning them in set methods and returning them in get methods

You might be interested in
14. Emelia is very concerned about safety and has conducted a study to determine how many bike helmets were replaced at each loc
damaskus [11]

Answer:

Explanation:

Known Variables A = max Daily Rentals

X = Damaged helmets %

lets find the formula to calculate Helmets per location :taking 1st row as an example.

412 = B - (B*13/100)

412 = (100B-13B)/100

412*100 = 87B

B= 412*100/87

Hence, the generic formula becomes : B= A*100/(100-X)

Applying the same formula for each row and then using ROUND function of excel to round off the digits

=ROUND(number,digits) where number is the number you would like to round off and the digits is the number of decimal digits for it to round off. Since we want natural numbers in our example, we will be using digits as 0.

Explanation:

See attached pictures also.

5 0
4 years ago
Read 2 more answers
Robert brought 10 shares apex company for $18 each and later sold all of them at $17 each. This transaction resulted in what typ
Ghella [55]

Answer:

$1 loss

Explanation:

purchase share=$18

Sold share=$17

Profit/Loss statement=sell- purchase=17-18=-1

If it contain negative value so it is loss

Loss=$1

4 0
3 years ago
Read 2 more answers
in an advertisement is made of a wireless keyboard and a mouse.Name two commonly used methods of connecting devices wirelessly​
DENIUS [597]

Answer:

Wireless LAN

Wireless MAN

Explanation:

I use these methods to connect my wireless devices all of the time and most of my friends do it as well so I am pretty sure it is a commonly used method.

3 0
3 years ago
A(n) ________ is the portion of virus code that is unique to a particular computer virus. A) virus signature B) encryptio
tino4ka555 [31]

Answer:

A) virus signature

Explanation:

Antivirus databases contain what are called signatures, a virus signature is a continuous sequence of bytes that is common for a certain malware sample.

--

Encryption is a way of scrambling data so that only authorized parties can understand the information.

7 0
2 years ago
To open the find and replace dialog box with shortcut keys, hold down ctrl and press ________
ratelena [41]
Hi. To open the find and replace dialog box with shortcut keys, hold down CTRL and press the letter "H". 

Hope this helps.
Take care.
8 0
4 years ago
Other questions:
  • Windows 7 is used to run ____ software
    5·2 answers
  • What is a collection of organized information that allows users to perform certain tasks such as searching for specific informat
    15·2 answers
  • Define a method printAll() for class PetData that prints output as follows with inputs "Fluffy", 5, and 4444. Hint: Make use of
    10·1 answer
  • Uploading is the process of transferring existing content stored on a server or other computer or device to your device via a ne
    8·1 answer
  • What is a sloper
    11·1 answer
  • A program is a high-level one that has been converted to machine language
    15·1 answer
  • What is the gap between those with access to new technologies and those without called?
    13·2 answers
  • our grandmother tells you a dollar doesn’t go as far as it used to. She says the “purchasing power” of a dollar is much less tha
    6·1 answer
  • After inserting a video into your slide how can you test it
    11·1 answer
  • You need to design an online login form in which users have to type their name and password to log into an application. The pass
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!