Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 977 / 1333
Write a class ListParser that is a subclass of the HTMLParser class. It will fin
Write a class ListParser that is a subclass of the HTMLParser class. It will find and collect the contents of all the list items, both ordered and unordered, in an HTML file fed i…
Write a class Matrix to operate with NxN matrices in Java. The class has the fol
Write a class Matrix to operate with NxN matrices in Java. The class has the following instance variables. private double[][] M - an array representing the Matrix private final in…
Write a class Measurement which has two private instance variables: String name
Write a class Measurement which has two private instance variables: String name and double distance, which represents the distance recorded by an athlete in the Long Jump competit…
Write a class Microwave that has the following Instance Variables Type - assumed
Write a class Microwave that has the following Instance Variables Type - assumed to be the name brand Minutes - cannot go above 59 and is a whole number Seconds - cannot go above …
Write a class MyRandomIntArray which encapsulates an integer array and has a cou
Write a class MyRandomIntArray which encapsulates an integer array and has a couple of operations. You will only submit MyRandomIntArray class (as a file named MyRandomIntArray.ja…
Write a class Mysquare – In the constructor, print out the following message “I’
Write a class Mysquare – In the constructor, print out the following message “I’m a quadrilateral, I have four right angles and I have four equal sides.” Write three classes Quadr…
Write a class Name that stores a person’s first, middle, and last names and prov
Write a class Name that stores a person’s first, middle, and last names and provides the following methods: public Name(String first, String middle, String last)—constructor. The …
Write a class Name that stores a person’s first, middle, and last names and prov
Write a class Name that stores a person’s first, middle, and last names and provides the following methods: -public Name(String first, String middle, String last)—constructor. The…
Write a class PhoneEntry which had two data members, name and phoneNumber, to si
Write a class PhoneEntry which had two data members, name and phoneNumber, to simulate the entry for a phone book. It has a constructor that takes two parameters to initialize the…
Write a class Polynomial that stores a polynomial such as p(x) = 5x10 + 9x7 - x
Write a class Polynomial that stores a polynomial such as p(x) = 5x10 + 9x7 - x - 10 as a linked list of terms. A term (additional object class) contains the coefficient and the p…
Write a class Polynomial that stores a polynomial such as p(x) = 5x10 + 9x7 – x
Write a class Polynomial that stores a polynomial such as p(x) = 5x10 + 9x7 – x - 10 as a linked list of terms. A term contains the coefficient and the power of x. For example, yo…
Write a class Polynomial that stores a polynomial such as p(x) = 5x^10 + 9x^7 -
Write a class Polynomial that stores a polynomial such as p(x) = 5x^10 + 9x^7 - x - 10 as a linked list of terms. A term contains the coefficient and the power of x. For example, …
Write a class Polynomial that stores a polynomial such as: p(x) = 5x^10 + 9x^7 -
Write a class Polynomial that stores a polynomial such as: p(x) = 5x^10 + 9x^7 - x -10 as a linked list of terms. A Term contains the coefficient and the power of x. For example, …
Write a class PrimeSequence that implements the Sequence interface of Worked Exa
Write a class PrimeSequence that implements the Sequence interface of Worked Example 10.1* and produces a sequence of prime numbers. USE THIS BELOW AS AN EXAMPLE, MODIFY IT TO PRO…
Write a class Quadrilateral that has: 4 Variables representing the length of the
Write a class Quadrilateral that has: 4 Variables representing the length of the 4 sides A function that returns the perimeter of the quadrilateral. Any other necessary accessor m…
Write a class Rational for performing arithmetic with fractions. Use integers to
Write a class Rational for performing arithmetic with fractions. Use integers to represent the (private) variables numerator and denominator. Provide a constructor function that e…
Write a class Rational for performing arithmetic with fractions. Use integers to
Write a class Rational for performing arithmetic with fractions. Use integers to represent the (private) variables numerator and denominator. Provide a constructor function that e…
Write a class Rational for performing arithmetic with fractions. Use integers to
Write a class Rational for performing arithmetic with fractions. Use integers to represent the (private) variables numerator and denominator. Provide a constructor function that e…
Write a class Rectangle to represent a rectangle with given end points and cente
Write a class Rectangle to represent a rectangle with given end points and center point – so your constructor must have five arguments of type MyPoint (4 end points and the center…
Write a class Room . A Room class contains an int instance variable for the area
Write a class Room. A Room class contains an int instance variable for the area (in square feet) of the room one constructor that takes the area of the room as a parameter an acce…
Write a class SemiCircle in Java that represents the northern half of a circle i
Write a class SemiCircle in Java that represents the northern half of a circle in 2D space. A SemiCircle has center coordinates and a radius. Define a constructor: public SemiCirc…
Write a class State. The constructor takes a String parameter and is provided fo
Write a class State. The constructor takes a String parameter and is provided for you. You need to copy the starter code from Codecheck You provide the methods: public int numberO…
Write a class StockHolding. The purpose of a StockHolding object is to represent
Write a class StockHolding. The purpose of a StockHolding object is to represent a single stock in someone's investment portfolio. The StockHolding class has the following specifi…
Write a class StockHolding. The purpose of a StockHolding object is to represent
Write a class StockHolding. The purpose of a StockHolding object is to represent a single stock in someone's investment portfolio. The StockHolding class has the following specifi…
Write a class StockHolding. The purpose of a StockHolding object is to represent
Write a class StockHolding. The purpose of a StockHolding object is to represent a single stock in someone's investment portfolio. The StockHolding class has the following specifi…
Write a class StockHolding. The purpose of a StockHolding object is to represent
Write a class StockHolding. The purpose of a StockHolding object is to represent a single stock in someone's investment portfolio. The StockHolding class has the following specifi…
Write a class Store which includes the attributes: store name and sales tax rate
Write a class Store which includes the attributes: store name and sales tax rate. Write another class encapsulating a Book Store, which inherits from Store. A Book Store has the f…
Write a class Store which includes the attributes: store name and sales tax rate
Write a class Store which includes the attributes: store name and sales tax rate. Write another class encapsulating a Book Store, which inherits from Store. A Book Store has the f…
Write a class StringSet. A StringSet object is given a series of up to 10 String
Write a class StringSet. A StringSet object is given a series of up to 10 String objects. It stores these Strings (or a reference to them, to be precise) and can perform limited c…
Write a class Student that has the following attributes: name: String, the stude
Write a class Student that has the following attributes: name: String, the student's name ("Last, First" format) enrollment date (a Date object) The Student class provides a const…
Write a class Student that represents a student in a course. The class supports
Write a class Student that represents a student in a course. The class supports nine methods: __init__() which takes an optional parameter representing the student's name. It sets…
Write a class Telephone Number that will hold a telephone number. An object of t
Write a class Telephone Number that will hold a telephone number. An object of this class will have the following attributes: area Code - a three-digit integer exchange Code - a t…
Write a class TelephoneNumber that will hold a telephone number. An object of th
Write a class TelephoneNumber that will hold a telephone number. An object of this class will have the following attributes: areaCode - a three-digit integer exchangeCode - a thre…
Write a class TestLibraryRecords with followingdetails · Defines anarray author
Write a class TestLibraryRecords with followingdetails · Defines anarray author of type String and size 100. · Defines anarray title of type String and size 100. · …
Write a class TestStudent that does the following: 1. Creates a student with the
Write a class TestStudent that does the following: 1. Creates a student with the name Alice 2. Assigns some courses to Alice 3. Writes the information about Alice to the console w…
Write a class TrackListException that extends Exception with the following const
Write a class TrackListException that extends Exception with the following constructors: A default constructor that gives the error message "Too many tracks." A constructor that t…
Write a class Watch that has the following (20 pts) Instance Variables Type- ass
Write a class Watch that has the following (20 pts) Instance Variables Type- assumed to be the name brand Hours-assumed to be 12 hour watch Minutes Constructors A default construc…
Write a class \"Plumbers\" that handles emergency plumbing calls. The company ha
Write a class "Plumbers" that handles emergency plumbing calls. The company handles natural floods and burst pipes. If the customer selects a flood, the program must prompt the us…
Write a class \"car\" with data fields \"make\" and \"speed.\" The constructor s
Write a class "car" with data fields "make" and "speed." The constructor should accept the "make" parameter. Be sure to use the "this" reference when setting the "make" parameter.…
Write a class \"customer\" that has data fields \"name\" and \"lastName.\" In ad
Write a class "customer" that has data fields "name" and "lastName." In addition, the accessor methods "get name" and "get last name" should print out the customer name. The class…
Write a class and a Java program to use the class. Part 1. Create a class called
Write a class and a Java program to use the class. Part 1. Create a class called Incomo that contains the following: 1. Two (2) instance variables: a double called "incomeYTD" and…
Write a class and a Java program to use the class. Part 1. Create a class called
Write a class and a Java program to use the class. Part 1. Create a class called Income that contains the following: 1. Two (2) instance variables a double called "IncomeYTD" and …
Write a class based on the following UML diagram. Your class will be called “Emp
Write a class based on the following UML diagram. Your class will be called “Employee” and reside in a source file named “Employee. The class Employee will be used to define or in…
Write a class called Account that does not contain a main() method, but it does
Write a class called Account that does not contain a main() method, but it does contains the following: A private int data field named id for the account (default value is 0). A p…
Write a class called Account that does not contain a main() method, but it does
Write a class called Account that does not contain a main() method, but it does contains the following: A private int data field named id for the account (default value is 0). A p…
Write a class called Address.java that will have variables called firstName, las
Write a class called Address.java that will have variables called firstName, lastName, streetAddress, city, province, postalCode, country, phoneNumber, and emailAddress. Define a …
Write a class called ArrayRecap which has a main method. Inside the main method:
Write a class called ArrayRecap which has a main method. Inside the main method: - Create an array of integers of size 10 called intArray - Using a for loop, repeat the following …
Write a class called Bag.java which will sort in ascending order an array arr[]
Write a class called Bag.java which will sort in ascending order an array arr[] of double from 0 to 1, using the following algorithm. Indicate in comment, the Time Complexity of y…
Write a class called BankAccount that has a string data member called customerNa
Write a class called BankAccount that has a string data member called customerName, a string data member called customerID, and a double data member called customerBalance. The cl…
Write a class called BankAccount that has a string data member called customerNa
Write a class called BankAccount that has a string data member called customerName, a string data member called customerID, and a double data member called customerBalance. The cl…