A. Radio station KJAVA wants a class to keep track of recordings it plays. Create a class named Recording that contains fields to hold methods

A. Radio station KJAVA wants a class to keep track of recordings it plays. Create a class named Recording that contains fields to hold methods for setting and getting a Recordings title, artist, and playing time in seconds. I keep getting an error saying there are no main methods. This is the code written for bartleby’s answer. This is what I have so far public class Recording { private String song; private String artist; private int playTime; public void setSong(String title) { song=title; } public void setArtist(String name) { artist=name; } public void setPlayTime(int time) { playTime=time; } public String getSong() { return song; } public int getPlayTime() { return playTime; } }

fivewriters
Calculate your essay price
(550 words)

Approximate price: $22

How it Works

1

It only takes a couple of minutes to fill in your details, select the type of paper you need (essay, term paper, etc.), give us all necessary information regarding your assignment.

2

Once we receive your request, one of our customer support representatives will contact you within 24 hours with more specific information about how much it'll cost for this particular project.

3

After receiving payment confirmation via PayPal or credit card – we begin working on your detailed outline, which is based on the requirements given by yourself upon ordering.

4

Once approved, your order is complete and will be emailed directly to the email address provided before payment was made!