Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 978 / 1333
Write a class called Board that represents a tic-tac-toe board. It should have a
Write a class called Board that represents a tic-tac-toe board. It should have a 3x3 array as a data member, which will store the locations of the players' moves. It should have a…
Write a class called Board that represents a tic-tac-toe board. It should have a
Write a class called Board that represents a tic-tac-toe board. It should have a 3x3 array as a data member, which will store the locations of the players' moves. It should have a…
Write a class called Board that represents a tic-tac-toe board. It should have a
Write a class called Board that represents a tic-tac-toe board. It should have a 3x3 array as a data member, which will store the locations of the players' moves. It should have a…
Write a class called Board that represents a tic-tac-toe board. It should have a
Write a class called Board that represents a tic-tac-toe board. It should have a 3x3 array as a data member, which will store the locations of the players' moves. It should have a…
Write a class called Board that represents a tic-tac-toe board. It should have a
Write a class called Board that represents a tic-tac-toe board. It should have a 3x3 array as a data member, which will store the locations of the players' moves. It should have a…
Write a class called Book that has the following attribures: copiesInStock yearO
Write a class called Book that has the following attribures: copiesInStock yearOfPublication, isbn, price, title, publisher, author. This class will later be used in a test method…
Write a class called Book.java that has attributes named category, title, author
Write a class called Book.java that has attributes named category, title, author, and price. Write two constructor methods. One constructor should require title and author and t…
Write a class called Book.java that has attributes named category, title, author
Write a class called Book.java that has attributes named category, title, author, and price. Write two constructor methods. One constructor should require title and author and t…
Write a class called Book.java that has attributes named category, title, author
Write a class called Book.java that has attributes named category, title, author, and price. Write two constructor methods. One constructor should require title and author and t…
Write a class called Book.java that has attributes named category, title, author
Write a class called Book.java that has attributes named category, title, author, and price. Write two constructor methods. One constructor should require title and author and t…
Write a class called Box that has three double fields called height, width and l
Write a class called Box that has three double fields called height, width and length. The class should have set methods for each field. It should have a three-parameter construct…
Write a class called Box that has three double fields called height, width and l
Write a class called Box that has three double fields called height, width and length. The class should have set methods for each field. It should have a three-parameter construct…
Write a class called Box that has three double fields called height, width and l
Write a class called Box that has three double fields called height, width and length. The class should have set methods for each field. It should have a three-parameter construct…
Write a class called Box that has three double fields called height, width and l
Write a class called Box that has three double fields called height, width and length. The class should have set methods for each field. It should have a three-parameter construct…
Write a class called Calculator with the following methods sumRange takes 2 inte
Write a class called Calculator with the following methods sumRange takes 2 integers, a and b. Input a cannot be negative and must be less than b. The sum of all the integers from…
Write a class called Car that contains instance data that represents the make, m
Write a class called Car that contains instance data that represents the make, model, and year of the car. Define the Car constructor to initialize these values. Include getter an…
Write a class called Car that contains instance data that represents the make, m
Write a class called Car that contains instance data that represents the make, model, and year of the car. Define constructors to initialize these values. Include accessor(getter)…
Write a class called Car that models the amount of gas required by the car to dr
Write a class called Car that models the amount of gas required by the car to drive a certain distance. The attributes of the Car object are: • tank capacity (in liters) (a double…
Write a class called Car. There should be three member variables called model, y
Write a class called Car. There should be three member variables called model, year and tank. The variable model is type String and year is integer and tank is double. Make sure t…
Write a class called Car.java with the following variables, constructor and meth
Write a class called Car.java with the following variables, constructor and methods. Variables: All variables given below must be declared as private except the color variable. co…
Write a class called CarTest java using main method Create two Car objects with
Write a class called CarTest java using main method Create two Car objects with the colors Red and White, respectively. Set features of the first car as follows by using set metho…
Write a class called Cashier that directs a cashier how to cash goods and give c
Write a class called Cashier that directs a cashier how to cash goods and give change to customers. The typical cashier operations are as follows: (a) Clear the cash register mach…
Write a class called CoinToss . The CoinToss class should have the following fie
Write a class called CoinToss. The CoinToss class should have the following fields: A private int named sideUp. The sideUp field will hold either 1 for heads or 2 for tails A priv…
Write a class called Course that represents a course taken at a school. Represen
Write a class called Course that represents a course taken at a school. Represent each student using the modified Student class from the previous programming project. Use an Array…
Write a class called Course that represents a course taken at a school. Use Arra
Write a class called Course that represents a course taken at a school. Use ArrayList in the course to store the students taking that course. The constructor of the course class s…
Write a class called CustomerProject. It should have three double fields called
Write a class called CustomerProject. It should have three double fields called hours(the number of hours the project took), materials (the cost of materials) and transportation (…
Write a class called CustomerProject. It should have three double fields called
Write a class called CustomerProject. It should have three double fields called hours (the number of hours the project took), materials (the cost of materials) and transportation …
Write a class called CustomerProject. It should have three double fields called
Write a class called CustomerProject. It should have three double fields called hours (the number of hours the project took), materials (the cost of materials) and transportation …
Write a class called CustomerProject. It should have three double fields called
Write a class called CustomerProject. It should have three double fields called hours (the number of hours the project took), materials (the cost of materials) and transportation …
Write a class called CustomerProject. It should have three double fields called
Write a class called CustomerProject. It should have three double fields called hours (the number of hours the project took), materials (the cost of materials) and transportation …
Write a class called Date that includes three fields year, month and day. This c
Write a class called Date that includes three fields year, month and day. This class stores information about a single date (year, month and day). Your class should have construct…
Write a class called Date that includes three fields year, month and day. This c
Write a class called Date that includes three fields year, month and day. This class stores information about a single date (year, month and day). Your class should have construct…
Write a class called Date that represents a date consisting of a year, month, an
Write a class called Date that represents a date consisting of a year, month, and day. A Date object should have the following methods: // Constructs a new Date object to represen…
Write a class called Date that represents a date consisting of a year, month, an
Write a class called Date that represents a date consisting of a year, month, and day. A Date object should have the following methods: // Constructs a new Date object to represen…
Write a class called DateConverter which has a static method that takes in a dat
Write a class called DateConverter which has a static method that takes in a date as a string (such as 01/21 or 1/21) and then returns a string with the date formatted with the al…
Write a class called DateConverter which has a static method that takes in a dat
Write a class called DateConverter which has a static method that takes in a date as a string (such as 01/21 or 1/21) and then returns a string with the date formatted with the al…
Write a class called Dealer that has two fields of type Vehicle and Customer. Th
Write a class called Dealer that has two fields of type Vehicle and Customer. The field for Vehicle is a class that has fields: make, model, and VIN. The field Customer is a class…
Write a class called Dog that can keep track of the name, breed, birthdate (mont
Write a class called Dog that can keep track of the name, breed, birthdate (month, day, year) and weight of a dog. You must input the name of a file containing one line per dog. T…
Write a class called Dormitory that is a subclass of Building. In addition to na
Write a class called Dormitory that is a subclass of Building. In addition to name, a Dormitory has two other member variables: 1. floors of type int that holds the number of floo…
Write a class called Employee based off of the following form: First Name: Last
Write a class called Employee based off of the following form: First Name: Last Name: EmployeeID: Email: The first name, last name, and employee id should be stored in fields. The…
Write a class called Exam that contains the following private member fields: int
Write a class called Exam that contains the following private member fields: int NumQuestions; Question* questions; // a dynamically allocated array of Question objects d…
Write a class called FileArray. The FileArray class should have the following me
Write a class called FileArray. The FileArray class should have the following methods: a static method named writeArray that takes two arguments: the name of a file and a referenc…
Write a class called FileOperations that accepts a string value in a variable ca
Write a class called FileOperations that accepts a string value in a variable called str which represents the name of a text file residing on an external storage device. Provide t…
Write a class called FileOperations that accepts a string value in a variable ca
Write a class called FileOperations that accepts a string value in a variable called str which represents the name of a text file residing on an external storage device. Provide t…
Write a class called FileOperations that accepts a string value in a variable ca
Write a class called FileOperations that accepts a string value in a variable called str which represents the name of a text file residing on an external storage device. Provide t…
Write a class called Fraction (this is not related to problem 2 from the text).
Write a class called Fraction (this is not related to problem 2 from the text). Include the following: int variables for the numerator and the denominator An empty constructor tha…
Write a class called Fraction, which can be used to store an exact fraction. It
Write a class called Fraction, which can be used to store an exact fraction. It must have: - A field to store the numerator - A field to store the denominator - A toString method …
Write a class called FullName that represents a persons full name. It must have
Write a class called FullName that represents a persons full name. It must have separate fields for title (e.g., Mr., Mrs., Ms.), first name, middle name, and last name. Override …
Write a class called GenDoublLinkedList which is a generic double linked list. T
Write a class called GenDoublLinkedList which is a generic double linked list. This link list is similar to the single linked list that was shown in class except that each node in…
Write a class called Hangman that will be used to play a game of hangman. The cl
Write a class called Hangman that will be used to play a game of hangman. The class should have the following instance variables: · The secret word. · The disguised wo…