Browse J
Alphabetical listing with fast deep pagination.
10965 items • Page 113 / 220
Java: In the exercises in Chapter 6, you created a class named Purchase. Each Pu
Java: In the exercises in Chapter 6, you created a class named Purchase. Each Purchase contains an invoice number, amount of sale, amount of sales tax, and several methods. Add ge…
Java: Inheritance and Polymorphism public class Blue extends Green { public void
Java: Inheritance and Polymorphism public class Blue extends Green { public void one() { System.out.println("Blue 1"); super.one(); } // end one } // end Blue public class Red ext…
Java: Making a simple tiled map, based on a coordinate plane. • Limitations: ? 2
Java: Making a simple tiled map, based on a coordinate plane. • Limitations: ? 2 classes ? A third class to test them ? A main method • Assume the X and Y axis will have 16 points…
Java: Modify the program to have two classes of nodes instead one. So, the progr
Java: Modify the program to have two classes of nodes instead one. So, the program prompts user to enter two different values which will be stored in their respective nodes. But, …
Java: Neatbeans project how to insert a node in the list before a specified elem
Java: Neatbeans project how to insert a node in the list before a specified element how to insert a node in the list after a specified element how to append a node to the list:add…
Java: Need to fill out the model class from the stub written. Also need to write
Java: Need to fill out the model class from the stub written. Also need to write a JUnit test class import java.io.*; import java.util.Calendar; public class Project { class Publi…
Java: Palindromic Odometer Palindromic Odometer. A palindrome is a string that r
Java: Palindromic Odometer Palindromic Odometer. A palindrome is a string that reads the same forwards as backwards. A string of digits may contain palindromic substrings. For exa…
Java: ParseTree { Function function; //could be an integer, variable, or arithme
Java: ParseTree { Function function; //could be an integer, variable, or arithmetic operation ParseTree left; ParseTree right; } ParseTree parse(Token a[], int left, int right) { …
Java: Please complete the code USING THIS FORMAT to: 1). align the \'1\' under t
Java: Please complete the code USING THIS FORMAT to: 1). align the '1' under the correct day of the week. 2).align the columns correctly under the days of the week import java.uti…
Java: Please help with the SpaceShip class. I already have the Location class an
Java: Please help with the SpaceShip class. I already have the Location class and Traveler class Thank you. Location Class: SpaceShip class - contains spaceship information and be…
Java: Please help with the following assignment. Thank you so much. Activity: 1.
Java: Please help with the following assignment. Thank you so much. Activity: 1. Review Chapter 9 and Chapter 9 examples. 2. Add a name field (type String) to your Student class a…
Java: Please help with the following assignment. Thank you. Student Learning Out
Java: Please help with the following assignment. Thank you. Student Learning Outcomes. After completion of this lab, students will be able to write a Java program that Uses except…
Java: Please help with this Tester Part 1: Please see the code I have so far for
Java: Please help with this Tester Part 1: Please see the code I have so far for that part. Thank you. INSTRUCTIONS: TRAVELER CLASS: enum Location { EARTH, MARS, BELT, RING; } pub…
Java: Programming Challenge (Netbeans JDK) Please provide instructions on how ti
Java: Programming Challenge (Netbeans JDK) Please provide instructions on how ti compile multiple .java files (public classes) into one program. Ship, CruiseShip, and CargoShip Cl…
Java: Q1: [FlightSearchEngine Mini-Project] Create a FlightManager class. This c
Java: Q1: [FlightSearchEngine Mini-Project] Create a FlightManager class. This class will store instances of the Flight class, and support generating a list of potential itinerari…
Java: QUESTION 1: Static variables are stored only once for all instances of the
Java: QUESTION 1: Static variables are stored only once for all instances of the class. A class constant is equivalent to it. True False QUESTION 2: A static data method can acce…
Java: Radix Sort and Counting Sort failing in JUnit test. Goal: All 10 test case
Java: Radix Sort and Counting Sort failing in JUnit test. Goal: All 10 test cases in JUnit test runs. Current Status: 3 errors, 7 successes in 10/10 runs. Error JUnit tests: testE…
Java: Radix Sort and Counting Sort failing in JUnit test. Goal: All 10 test case
Java: Radix Sort and Counting Sort failing in JUnit test. Goal: All 10 test cases in JUnit test runs. Current Status: 3 errors, 7 successes in 10/10 runs. Error JUnit tests: testE…
Java: Task #1 – The Counter Class For this lab we are going to enhance the Count
Java: Task #1 – The Counter Class For this lab we are going to enhance the Counter class. Please download the template, counter.java, to begin with. This class contains instance v…
Java: The Calculator program is designed to perform operations on integers. Writ
Java: The Calculator program is designed to perform operations on integers. Write a similar program that can be used to perform operations on decimal numbers. (Note: If division b…
Java: The current code uses a hashset to count the amount of total vowels in my
Java: The current code uses a hashset to count the amount of total vowels in my textfile. How can I adjust it to count each vowel individually instead of the the total. import jav…
Java: The given code: import java.util.*; public class ArrayIterator implemen
Java: The given code: import java.util.*; public class ArrayIterator<T> implements Iterator<T> { private int DEFAULT_CAPACITY = 10; private int count; // the num…
Java: The purpose of this project is to determine the frequency of characters/ke
Java: The purpose of this project is to determine the frequency of characters/key-strokes in any writing. By performing an analysis, you may determine the number of key strokes re…
Java: This exercise extends the Student class you produced for PP7.2. Modify the
Java: This exercise extends the Student class you produced for PP7.2. Modify the Student class of PP7.2 as follows: Add a studentId instance variable that is an int. Modify all th…
Java: This is a program designed to manage a digital bibliography. A bibliograph
Java: This is a program designed to manage a digital bibliography. A bibliography can contain either books or articles. The program can be extended to allow for other types of bib…
Java: Use BufferedReader not Scanner • public void display( String str ) — This
Java: Use BufferedReader not Scanner • public void display( String str ) — This method will display the value of str to the screen. You will need to use System.out.print() rather …
Java: Using BufferedReader, Write a user entry method that asks the user to ente
Java: Using BufferedReader, Write a user entry method that asks the user to enter an whole number. You should use the appropriate loop to ask the user repeatedly until the user de…
Java: Using a Node class that forms the components of a linked list and a class
Java: Using a Node class that forms the components of a linked list and a class that has a data field of Orderlet type and a next field of Node type. Implement the void addAll(Ord…
Java: We are going to create an array of playlist that hold songs. 1. Create a c
Java: We are going to create an array of playlist that hold songs. 1. Create a class named Song. 2. Create 3 instance variables, title, artist and length; 3. Create a constructor …
Java: We are going to create an array of playlist that hold songs. 1. Create a c
Java: We are going to create an array of playlist that hold songs. 1. Create a class named Song. 2. Create 3 instance variables, title, artist and length; 3. Create a constructor …
Java: Whenever I test this code and try to put a value of 6 or more for the rows
Java: Whenever I test this code and try to put a value of 6 or more for the rows and columns it gives me a StackOverflow Error. How would I be able to change this to include value…
Java: Wing Class Lab Please elp me finish the remaining requirement of the lab,
Java: Wing Class Lab Please elp me finish the remaining requirement of the lab, thank you! I will rate the answer! I have attached the lab requirment and the code I have below: pu…
Java: Write a Java program that serves as a primitive web browser. For this assi
Java: Write a Java program that serves as a primitive web browser. For this assignment it merely needs to input a server name and display the HTML that is sent by the web server. …
Java: Write a class StringsAndThings. It has a constructor that takes a String p
Java: Write a class StringsAndThings. It has a constructor that takes a String parameter. Write methods: countNonLetters that will count how many of the characters in the string a…
Java: Write a class encapsulating the concept of a circle, assuming a circle has
Java: Write a class encapsulating the concept of a circle, assuming a circle has the following: two fields: a point which is an object of type Point (from java.awt package) repres…
Java: Write a program Find that searches all files specified on the command line
Java: Write a program Find that searches all files specified on the command line and prints out all lines containing a reserved word. Start a new thread for each file. For example…
Java: Write a program that computes the monthly loan payment, given the loan amo
Java: Write a program that computes the monthly loan payment, given the loan amount (a double value), the interest, as a percent % (a double value), and the number of years to rep…
Java: Write a program that computes the monthly loan payment, given the loan amo
Java: Write a program that computes the monthly loan payment, given the loan amount (a double value), the interest, as a percent % (a double value), and the number of years to rep…
Java: Write a program that reads the contents of two files, BoyNames.txt, and Gi
Java: Write a program that reads the contents of two files, BoyNames.txt, and GirlNames.txt into separate ArrayLists. These 2 files contain the most popular boy and girl names (re…
Java: Write a program that will read in multiple lines of text and output a list
Java: Write a program that will read in multiple lines of text and output a list of all the letters that occur in the text, along with the number of times each letter occurs. The …
Java: Write a program to allow a user to enter the name of a starting city and a
Java: Write a program to allow a user to enter the name of a starting city and a destination city. Output the mileage between cities and an estimate of the total number of fuel st…
Java: Write a recursive boolean method named isMember. The method should accept
Java: Write a recursive boolean method named isMember. The method should accept two arguments : an int array and an int value . The method should return true if the value is found…
Java: Write a set of classes to represent shapes in Java. You should have five c
Java: Write a set of classes to represent shapes in Java. You should have five classes and a tester program as described below. 1) PolyShape: - This class represents polygons with…
Java: Write a zip code lookup program. Read a data set of 1,000+ zip codes and c
Java: Write a zip code lookup program. Read a data set of 1,000+ zip codes and city names from a file that contains zip codes and city names in Iowa in random order. Handle lookup…
Java: Write a zip code lookup program. Read a data set of 1,000+ zip codes and c
Java: Write a zip code lookup program. Read a data set of 1,000+ zip codes and city names from a file that contains zip codes and city names in Iowa in random order. Handle lookup…
Java: Write an application that simulates a simple Automatic Teller Machine. You
Java: Write an application that simulates a simple Automatic Teller Machine. Your application must incorporate multiple classes, arrays, and file input. Your ATM application must …
Java: You will create two classes. If identifiers/names are specified, you must
Java: You will create two classes. If identifiers/names are specified, you must use them, and you must use the standard order of declaration as shown on the right. All error messa…
Java: a. The mean of a list of numbers is its arithmetic average. The median of
Java: a. The mean of a list of numbers is its arithmetic average. The median of a list is its middle value when the values are placed in order. For example, if a list contains 1, …
Java: code a value-receiving method called costumes() that receives a number for
Java: code a value-receiving method called costumes() that receives a number for a party event. Inside this method is a switch statement that tests partyEvent so when partyEvent i…
Java: compile and test before posting; create a class called TelevisionChannel t
Java: compile and test before posting; create a class called TelevisionChannel that has three fields: name (String), number (int), and cable (boolean that represents whether the c…