Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web development and programming

191828 questions • Page 3675 / 3837

java help Write a program that takes in input the price of an item followed by t
java help Write a program that takes in input the price of an item followed by the desired discount option 1 (for 10%), 2 (for 20%), 3(for 30%) or 4 (for custom discount values). …
java help! I keep getting this error Lab07StudentFile.txt 1221 100 100 100 100 1
java help! I keep getting this error Lab07StudentFile.txt 1221 100 100 100 100 100 100 100 100 100 100 1222 87 87 87 87 87 87 87 87 87 87 1223 80 80 80 80 80 80 80 80 80 80 1224 7…
java help! part2: what is the time complexity of this algorithm? 13. (15 points)
java help! part2: what is the time complexity of this algorithm? 13. (15 points) White a method removeDuplicates(), which when called by a SortedLinkedList. removes all duplicate …
java help: i need to write a code. This was the problem given to me, ignore the
java help: i need to write a code. This was the problem given to me, ignore the first sentence. "Next, I'd like to illustrate how inheritance works. Suppose we have an Animal clas…
java homework 1. Inheritance is also known as the a. has-a relationship. b. know
java homework 1. Inheritance is also known as the a. has-a relationship. b. knows-a relationship. c. uses-a relationship. d. is-a relationship. 2.Which of the following is a super…
java homework Question 4: The equals Method Write an equals method for the Shirt
java homework Question 4: The equals Method Write an equals method for the Shirt class. Two shirts are logically equivalent if they have the same size, color, and price. public cl…
java homework, need help 1.Write the class header and the instance data variable
java homework, need help 1.Write the class header and the instance data variables for the Book class.A book is described by the title, author, publisher, and copyright year. 2.Wri…
java homework. I need help with this code! We can use a loop to calculate and di
java homework. I need help with this code! We can use a loop to calculate and display the value of the following series. The pattern seems pretty obvious and ideal for a simple lo…
java i) tBased on the recursive (2-way) mergesort given below, implement a 3-way
java i) tBased on the recursive (2-way) mergesort given below, implement a 3-way recursive mergesort algorithm. In the 3-way mergesort algorithm, the part of the array delimited b…
java import java.awt.*; import javax.swing.*; import javax.swing.border.Border;
java import java.awt.*; import javax.swing.*; import javax.swing.border.Border; public class MySite { public static void main(String[] args){ JFrame frame = new JFrame("Le Qi"); f…
java import java.util.*; only Write a JAVA program to that uses method. Your pro
java import java.util.*; only Write a JAVA program to that uses method. Your program should have following methods: a. public static void main(String[] args) b. public static int …
java import java.util.Scanner; public class Hog { public static void main(String
java import java.util.Scanner; public class Hog { public static void main(String args[]) { PairOfDice p1 = new PairOfDice(); PairOfDice p2 = new PairOfDice(); int grand_p1 = 0; in…
java lab problems Time1 Declare a class Time1. Declare a constructor initializin
java lab problems Time1 Declare a class Time1. Declare a constructor initializing values of three instance variables i.e. hours, minutes and seconds. Knowing that the instance var…
java language please - Use a one-dimensional array to solve the following proble
java language please - Use a one-dimensional array to solve the following problem: A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus…
java language please - Write a class definition of a class named \'Value \' with
java language please - Write a class definition of a class named 'Value ' with the following: a constructor accepting a single integer parameter a constructor with no parameters a…
java language please You will create a two person Tic-Tac-Toe game using a two d
java language please You will create a two person Tic-Tac-Toe game using a two dimensional array to store the data. The program will prompt the X and O players to enter what squar…
java language: In this assignment we will create a sorting program that provides
java language: In this assignment we will create a sorting program that provides the user with a large assortment of sorting methods and options. The user should be able to choose…
java make sure it work 1. Vehicle class Create a class called Vehicle that simul
java make sure it work 1. Vehicle class Create a class called Vehicle that simulates a car moving along a 40 block stretch of road. Your class will build a vehicle and keep track …
java make sure the the program works and please follow these steps exactly and d
java make sure the the program works and please follow these steps exactly and don't use any completed code the simpler the better 1. Create an input file Lab7_1_in.txt with follo…
java method already defined/String[] fruits=new String[SIZE]; cannot be found in
java method already defined/String[] fruits=new String[SIZE]; cannot be found in two .java files out of errors in these two .javas: import java.io.FileInputStream; import java.io.…
java method setFruitfield(Produce) already defined/int cannot be converted to bo
java method setFruitfield(Produce) already defined/int cannot be converted to boolean #############   BoxOfProduce.java ####################### public class BoxOfProduce {    //se…
java multiple choice. Part I. (20 pts.) l. (8)Assume an ArrayQueue object looks
java multiple choice. Part I. (20 pts.) l. (8)Assume an ArrayQueue object looks as follows with variables front and rear set as shown. Use the Array Queue class discussed in lectu…
java multiplication questions. Randomly generate two integers between 1 and 12,
java multiplication questions. Randomly generate two integers between 1 and 12, print out the multiplication question and ask user to put in answer, your program then check the an…
java not c++ Your assignment is to create a dictionary (phonebook) using hashing
java not c++ Your assignment is to create a dictionary (phonebook) using hashing. The Key will be a two digit phone number, the associated data will be a name (a String). The size…
java not c++ Your assignment is to write a program that creates a single dimensi
java not c++ Your assignment is to write a program that creates a single dimensioned array of integers, fills it with random numbers, then sorts the array, and does searches in th…
java on eclipse metrostate.learn minnstate.edu Program 1- Due Sept 11 - ICS 141-
java on eclipse metrostate.learn minnstate.edu Program 1- Due Sept 11 - ICS 141-01 y Drive - Google Drive Eclipse Downloads I The Eclipse You have been asked to write a program to…
java only Write a Java application or applet program that (1) plays a sound file
java only Write a Java application or applet program that (1) plays a sound file; (2) displays an image moving from the top to the bottom of the panel, and if the image reaches th…
java only Write a Java program that converts miles and kilometer, as shown in Fi
java only Write a Java program that converts miles and kilometer, as shown in Figures 17.37. If you enter values in the Mile text field, the Kilometer text field is focused (or th…
java only please.... The switch statement in Java allows for multi-way branching
java only please.... The switch statement in Java allows for multi-way branching in an easy to read and easy to write format. The switch statement has many restrictions on when an…
java only!!!! Write a program that replaces each line of a file with its reverse
java only!!!! Write a program that replaces each line of a file with its reverse. For example, if you run java Reverse HelloPrinter.java then the contents of HelloPrinter.java are…
java package ch11.sorts; import java.util.*; import java.text.DecimalFormat; pub
java package ch11.sorts; import java.util.*; import java.text.DecimalFormat; public class Sorts { static final int SIZE = 50; // size of array to be sorted static int[] values = n…
java please RSA Encryption 1 Overview How are messages transferred in a secure w
java please RSA Encryption 1 Overview How are messages transferred in a secure way? How is your browser sure that it is talking to the website it should be instead of an imposter?…
java please Write a program using LinkedList and Listlterator to obtain the foll
java please Write a program using LinkedList and Listlterator to obtain the following statements: Create a linked list named "number" with these elements: "one", "four" and "three…
java please add comments to make the code clearer. Write a simple press-your-luc
java please add comments to make the code clearer. Write a simple press-your-luck dice game. The game works as follows: Player 1 starts with a score of zero and rolls two dice. If…
java please! This test method is for the pop method from stack. The [returnedVal
java please! This test method is for the pop method from stack. The [returnedValue] below refers to a position object(containing x and y coordinates). testPopFromEmpty1() is a pri…
java please! public static void placeWalls(char[][] room, int numberOfWalls, Ran
java please! public static void placeWalls(char[][] room, int numberOfWalls, Random randGen) {} The result of calling this method is that numberOfWalls randomly chosen characters …
java please... The mouse is depicted by the @ character, the cheese by % charact
java please... The mouse is depicted by the @ character, the cheese by % characters, and the otherwise empty vs wall-occupied locations in the room are depicted by . and # charact…
java problem A start-up company named Gazouillis wants to implement a breakthrou
java problem A start-up company named Gazouillis wants to implement a breakthrough software system to exchange text and photographic messages. You have been tasked to create the p…
java problem Exception in thread \"main\" java.lang.NullPointerException at Prio
java problem Exception in thread "main" java.lang.NullPointerException    at PriorityQueue.reverseHeapify(PriorityQueue.java:63)    at PriorityQueue.enqueue(PriorityQueue.java:30)…
java problem! Show code and step! A dictionary or an associative array is a comm
java problem! Show code and step! A dictionary or an associative array is a commonly used data structure that is composed of a collection of (key, value) pairs. Each key is unique…
java problems Question 3 Implement the class method: public static void swap
java problems Question 3 Implement the class method: public static <E> void swap(Stack<E> xs , Stack<E> ys) The method exchanges the content of two stacks, xs an…
java program 2 Rational Implement a class to represent rational numbers. Each ra
java program 2 Rational Implement a class to represent rational numbers. Each rational number consists of a numerator and a denominator, both of type int. Since each rational numb…
java program Complete the following using Java Programming Create a switch state
java program Complete the following using Java Programming Create a switch statement inside a for loop that tries each case and prints a message. Put a break after each case and t…
java program Create a class named Pizza that stores information about a single p
java program Create a class named Pizza that stores information about a single pizza. It should contain the following: Private instance variables to store the size of the pizza (e…
java program Define a class Bank Account, with instance variables for the follow
java program Define a class Bank Account, with instance variables for the following information: Account Owner Name Account Balance Also define two static instance variables for t…
java program Display the ASII character table\". It is table B.1 that we want to
java program Display the ASII character table". It is table B.1 that we want to make. From this table, we want to print the following output: | 0 1 2 3 4 5 6 7 8 9 - + - - - - - -…
java program Exercise 4: A queue is a first in first out linear data structure i
java program Exercise 4: A queue is a first in first out linear data structure in which items are added at one end and removed from the other end. A generic Queue class can be bui…
java program Filename(s): ReformatCode.java Public class: ReformatCode Package-v
java program Filename(s): ReformatCode.java Public class: ReformatCode Package-visible class(es): none Write a program that reformats Java source code from the next-line brace sty…
java program Follow all the instructions below, and make sure to include constru
java program Follow all the instructions below, and make sure to include constructors, as well as getters and setters for all the attributes. • Implement the interface Event. It d…
java program For the partial implementation of the class IntArrayList below, imp
java program For the partial implementation of the class IntArrayList below, implement the method removeDuplicates. • After a call to the method removeDuplicates, the array design…