Study Resources
Main Menu
by School
by Literature Title
by Subject
by Study Guides
Textbook Solutions
Expert Tutors
Earn
Main Menu
Earn Free Access
Upload Documents
Refer Your Friends
Earn Money
Become a Tutor
Scholarships
For Educators
Log in
Sign up
Find
Study Resources
by School
by Literature Title
by Subject
by Study Guides
Browse
Textbook Solutions
Ask
Expert Tutors
You can ask
!
Earn
Earn Free Access
Learn More >
Upload Documents
Refer Your Friends
Earn Money
Become a Tutor
Scholarships
Learn More >
For Educators
Log in
Sign up
Home
Questions and Answers Archive
Java Programming
November 2020
Java Programming questions and answers in November 2020
could you help me please to split this data using java "zipcode" : "60611" , "address" : "500 N Michigan Avenue, Chicago 60611" , "city" : "Chicago" , "locality_verbose" : "Magnificent Mile, Chicago" ...
This project requires you to work with the arrayList data structure and text files. This program demonstrates the ArrayList add() method that will add an object to the ArrayList, and the clear() metho...
Need help with this polymorphism example question. Ive struggled with polymorphism alot and cannot not get this code running correctly 2.1 Write-a class catFish extends fish class, in its c...
Hi I need help with code below (I have to build requested code to the following code) code: //Student class : package driverstudentquiz; public class Student { private int SID; private int scores[] = ...
A manual vaccine management method that run with pen and paper is not only labor-intensive but also time-consuming. This approach lacks a proper data organization structure, which can give rise to man...
Develop a theme for your game which allows for the enemies to move and attack the player and the player can attack the enemies. Implement multiple enemies in an ArrayList. Implement other variables ...
When getting into a fitness program, you may want to figure out your target heart rate so you don't overexert yourself. The Karvonen heartrate formula is one method you can use to determine your rate....
i need an example in Java code that illustrates formal parameters and actual parameters.
I cannot get Eclipse for Java Developers to work on my Dell laptop. The error message I am getting is: Error occurred during initialization of boot layer java.lang.module.FindException: Error reading ...
An Android application that will maintain a list of contacts in a RecyclerView. Every contact will have a name, telephone number and gender. The RecyclerView must display every contact's name and tele...
I have been having a lot of trouble with my final programming project for the semester. I have tried desperately to put something together but nothing works. Any help is appreciated! The problem is 17...
Hello! I would like to get helped, I got stuck and I would like to see how this program would look like solved. Please I need help, if you have any doubts let me know please. Thank you!
When instructors want to create the online quiz, they first create the quiz and give it a name. After the creation of the quiz, they will have an empty quiz with no questions. Later, they add the ques...
Exam Practise: Produce a program to place eight queens on a 10 x 10 chessboard in such a way that one queen is to be in each row. A 2D array x[r][c] is required for this configuration. if x[r] has val...
build an external JavaScript document (with the .js file extension) named projectJS.js. In the HTML document named project.html, code the script element after the opening BODY tag that will link ...
I need help constructing a calorie tracking app from the ground up. Something simple but with a GUI to input calories from food. Possibly input age, weight, and height. I'm using NetBeans IDE 12.1
CSIS PROJECT 2 i. Step 1 : Be sure to import the required classes you need with this type of syntax as we've done in earl...
Implement an app that demonstrates log-time point location for point-in-polygon for a polygon P that is star-shaped and/or x-monotone. Try to make the app be instructional, for demonstration in class....
Exam Practice: Produce a java code that reads 8 positive integers from the user and store them in an array. The program should ensure that the numbers of the array are positive. If not, the program wi...
I am having trouble compiling my java class i receive multiple errors. The first one is main cant be found, once i add main i receive multiple errors. What can be done so my program works as designed....
Exam Practise: Produce a program to place eight queens on a 10 x 10 chessboard in such a way that one queen is to be in each row. Use a 2D array x[r][c] for this configuration. if x[r] has value c, th...
Fraction_Java Program Create the class which must be named Fraction to store fractions. The class will hold two integer values: a numerator and a denominator. For the class, stick to positive fr...
I have a question about searching and sorting in java. I was able to write a code about this topic but It will not work well and I have no idea which parts of code I should rewrite or move to other me...
Part I: Peg State Triangle Peg Solitaire has three distinct states. First Click: A clicked on peg has only one possible jump, so take that jump. Second Click: A clicked on peg has two possible jum...
Just have a code that seems to works with the images files(there are way to many to put here will put one to show as exapmle). Part I: ToppingList Extend JList to make a ToppingList class. Set the sta...
please I've been trying to solve this practise question I can't really get around it please could you help me Multithread/Queue Implement a Queue class whose add and remove methods are synchro- niz...
Part I: The Merkle Tree Using the provided comments as a guide, complete the MerkleTree class. This class will store our list of transactions and generate the Merkle Root needed for our Block class. N...
Singly-linked Lists Remember that a singly linked list defines a collection of nodes that are arranged in a linear order. The order in a linked list is determined by a reference in each node. The firs...
Hi I need help with code below (I have to build requested code to the following code) code: // Student class : package driverstudentquiz; public class Student { private int SID; private int scores[] =...
I want to get the html and css representation of the image below
Use the Java code provided for selection sort, insertion sort and shellsort to devise experiments to demonstrate the veracity of the propositions given for the analysis of selection sort on slide 23, ...
(Part A) Given the outline for the class called MyArray below. Do the following: In the constructor: Write the statement that will assign the array argument to the array variable original and use the ...
MOCK EXAM PRACTISE: Produce a customer class with two private fields String name and double balance. Create two public methods, method 1: public String toString () that gives back the name and balanc...
Write method to perform an enhanced sequential search for an integer array. The regular sequential search algorithm will return the index of first matching element it encounters. Instead, this met...
Give a computer pseudocode to simulate Buffon's experiment to estimate the value of pi. The challenge is that you are not allowed to use the value of pi in code. If you do not see why this is a diffic...
Write program using integers userNum and x as input, and output userNum divided by x four times. Ex: If the input is 2000 2, the output is: 1000 500 250 125 Note: In Coral, integer division discards f...
Upload the screenshot of your answer to this question: Write method to return the first duplicated string in an array. Comparison must check case (e.g., red != Red). Hint: To identify duplications i...
For the following int[] array, print out the elements and their corresponding sqaure. int[] num = {1,2,3,4,5,6}; The output should be: 1 1 2 4 3 9 4 16 5 25 6 36 Note: You must use...
I would appreciate if someone could help construct some code for a calorie counting app. Something simple but with the ability to input calories from food. Possibly input age, weight, and height. Noth...
Only Class diagram for both vehicle and car classes needed. NOT CODE, CODE ALREADY PROVIDED. Please help! Source Code: Vehicle.java: /* * PARENT CLASS - VEHICLE */ public class Vehicle { // privat...
application named StudentsStanding.java that allows you to enter student data that consists of an ID number, first name, last name, and grade point average. Have the program accept input until Z...
Please help me write exception class using Exception Handling
open in Eclipse, with the file "Quiz.java" in the editor pane. • Add a static method that asks a question until the user provides valid input. • Call the method "ask". It should take a String para...
A game that plays inverse tic-tac-toe. This game is a variant of tic-tac-toe (https://en.wikipedia.org/wiki/Tic-tac—toe). There are two differences: - the player wins whose opponent first gets three...
Define and provide the syntax of the following. Provide an example. 1. if statement 2. switch statement 3. for loop 4. while loop 5. do while loop
make a program which creates an array of integers a[] that has 4 elements and asks the users to give you the elements of this array as shown in the sample. Then in this program, use the following Bub...
Please help with this program. Fix the bug in the isWinningCord method. Add 4 distinct test vectors to unit tests in the test bench for isWinningCord //The connectFour code import java.util.Random; im...
//I am receiving an error when trying to run this java code, and I need help. I can input the employee name (as long as there are no spaces), Pay Rate, and hours worked, but after hitting enter, I get...
In this project, we would create a tool to conduct simple analysis on the real-time stock market data. With the symbol of New York Stock Exchange stock, one can get its current trading price by extrac...
make a java program Write a program which creates an array of integers a that has 4 elements and asks the users to give you the elements of this array as shown in the sample. Then in this program, use...
Make a program that determines how many terms 10 students need to graduate. Step 1. Help make an algorithm (either flowchart or pseudocode) that you will use to write the program. Place the algorithm...
Dear expert Java Programming tutors, I've made some more significant changes to my code, but am still a little bit stuck here. If possible, could you take a look at my code for me and help me complete...
Please help: Problem 4 (10 points). This problem is about linear probing method we discussed in the class. Consider a hash table of size N = 11. Suppose that you insert the following sequence of keys ...
Please help: Problem 3 (10 points). This problem is about the chaining method we discussed in the class. Consider a hash table of size N = 11. Suppose that you insert the following sequence of keys to...
Implement the PERT algorithm. Starter code provided. Implement all the methods in the starter code. Driver class, Graph class, and test cases are all also provided. (See below.) Do not ch...
Please help: Problem 5 (10 points). Suppose that your hash function resolves collisions using open addressing with double hashing, which we discussed in the class. The double hashing method uses two h...
Define a new class named BSTWithHeight that extends BST with the following method: /** Return the height of this binary tree */ public int height() Use the code provided, you should edit the code ...
Plz solve the below problems . Must follow all the instructions. You will be remarked best . Pleaase don't copy it from any source Question 2: [15 Marks] Can we implement more than on interfaces in ja...
Basic Java. I have provided part of the solution please complete based upon it. import java.util.Scanner; public class Addition { public static void main(String []args) { Scanner scanner = new...
Can someone help me for my code? I do not understand why I'm getting errors. And what I can write the missing parts? ASAP?!?!!!!!!!!!!! Course Project Information Project Overview As a team of 4-5 pro...
Company Prospectus of a Gaming Company. This is a short document that talks about the managers in your company and the team members. It is like a résumé for your company. Ideal contents include comp...
Menu driven java program. When the user presses "1" it sorts the .txt file alphabetically. The Program reads and writes txt file to a new txt file. If the user presses "2" it will sort the data numeri...
Part I: Peg State Triangle Peg Solitaire has three distinct states. First Click: A clicked on peg has only one possible jump, so take that jump. Second Click: A clicked on peg has two possible jumps, ...
I am having trouble coding a particular scenario. I am attempting to write code that does the following steps 1. Defines a two-dimension array with 10 rows and 2 columns. 2. Prompt the user to e...
I have been working on this for two days and I still cannot get it to come out I get errors all over the place. I am using JDK 8 and netbeans. Please help me. For this assignment, I will take on the r...
There is no answer to this document, please see this document and if you can, help me with the code. Thank you! Chapter 8 Project Project Name: Chpt8_Project Class Name: Chpt8_Project Write a program ...
Question related to advanced data structure - to generate a shortest sequence of instructions to a vacuum robot which moves in a linear array of n locations--question mentioned below-- Programming Ass...
Should one enforce referential Integrity for the relationship between MusicCategoryID and AlbumID? Why or Why not?
I have supplied the code for my question below. I had a shell code provided to me that established a grid of buttons. I wrote the event handling portion, but instead of the buttons switching between X...
This is what I'm having trouble with: The following formulas can be used to convert English units of measurement to metric units: inches * 2.54 = centimeters feet * 30 = centimeters yards * 0.91 = met...
Could you look at this question and create Java code that use 0 as a sentinel to end user input ? I will attach the Chapter5 Exercise4 answer below, so please use them to make this. import java.util.S...
JAVA: Create game of Tic Tac Toe for two people to play X and O. Please create simple program with Inheritance demonstration.
This is a Java language program Please be as same as the example output. For the next lab, you will apply the knowledge that you have gained in class and through the readings to create a program usin...
Please explains and post the working code! Thank you so much! Make the Measurable interface into a generic class. Provide a static method that returns the largest element of an ArrayList<T>, pro...
I have been working on this for two days and I still cannot get it to come out I get errors all over the place. I am using JDK 8 and netbeans. Please help me. For this assignment, I will take on the r...
Write the quick sort algorithm, the merge sort algorithm, and the heap sort algorithm to sort a given array of elements, and its associated partition method. Show an analysis of the running time of pa...
Write the following methods in the Linear Probing class in Java pseudocode: insert/put search/get delete/remove
Write the following methods in the BinaryHeap class: add() and percolateUp() remove() and percolateDown()
Can you explain and provide with example why using ADTs (abstract data types) has advantages for program modularity? If you could provide longer explanation that would be awesome.
This is a Java language program Please be as same as the example output. Please tell what's missing so I can revise For the next lab, you will apply the knowledge that you have gained in class and thr...
For this assignment you are given the following files: Assignment07.java (make no changes to this file) Monster.java (you must completee this file) Weapon.java (you must completee this file) Problem D...
Please help me with these Java programming questions. Thank you so much. Question 16 1 pts Consider the following methods. public void manipulate(boolean b, int n) b = !b; n = n % 5; public void teste...
Please help me with these Java programming questions. Thank you. Question 11 1 pts Which of the following correctly implements a mutator method for Point? O public double getx() return a; O public dou...
Part I: The Merkle Tree Using the provided comments as a guide, complete the MerkleTree class. This class will store our list of transactions and generate the Merkle Root needed for our Block class. N...
Consider the following GUI listener. If the user chooses the menu item "Succeed", a message saying "Hooray! Your passed!" should be printed to the console. If the user chooses "Fail", a message saying...
public class StringNode { String data; StringNode next; public StringNode() { data=null; next=null; } public StringNode(String value){ data=value; next=null; } } public class StringList { StringNode f...
Suppose we have the following system of classes: Class Beta has a no-argument constructor. Class Alpha inherits from class Beta and has a one argument constructor that takes an integer parameter. Clas...
6.6 Parsing strings (Java) (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill,Allen Ex: En...
Make a program that simulates a vending machine. The program should display a menu of items, along with the price and quantity of each item. The user can select an item and insert money to purchase th...
this is for two programs please show work clearly. application named StudentsStanding.java that allows you to enter student data that consists of an ID number, first name, last name, and grade poi...
Program: import java.awt.*; import java.awt.Rectangle; import java.awt.event.*; import java.lang.reflect.Field; import javax.swing.*; public class Project3 extends JFrame implements ActionListener...
Lab 5: Tape for a Turing Machine (Doubly-linked List) This lab is another relatively short exercise in which you will code part of an existing project. In this case, you will be working with a doubly-...
Please help me with these questions because I am confused: Classwork for 3rd period AP CS A X + X C G F.3 W Exerciseo_1.docx CS A, MS. Horton Open with Google Docs . . . Week 8 - Sept 28 - 0. Week 7, ...
solve it ............................................................. I 45 Q DMathSuggestedQuestinns Q Disclete Mathematicsw'rthl @ ch57slidespdf Q Lab72317Finalrmndifiedpdl' @ quizonesection 3.pd...
JAVA ( Integral Calculator ) Program Create a program for Integral Calculator The program will ask the user to enter a function, then the program must integrate the given function and give an outp...
A boutique shop sells varieties of suits, hats and shoes. Each item has a price tag. A customer can come and check for the price of any combination of the items. With a large number of options for eac...
1. The Years class contains methods used to calculate information about a calendar. You will write two methods of the class. public class Years { /** Returns true if year is a leap year ...
Describe the features of Java that promote software reuse and thus save time during program development.
Please guide me for my homework. I don't know how to do it. Thank you very much! A menu-driven program in Java to manage general products. The program should include the following features: - Feature ...
1. You are required to calculate the total price that need to be paid by a customer in C_MARTS shopping complex. The program should ask how many items that the customer buys (maximum number of items ...
A publishing house publishes a number of items: regular journals, books, and occasional special issues. Each item has a name, publication date, and a price tag. A book has an ISBN number, while a jour...
Consider a company who takes online orders and process the 'largest' order first. This means the company needs to sort the orders before processing them. Write Java program (pseudo code level) for the...
Explain with an example , 'JavaFX scene graph is not thread-safe'. Describe one of the ways to implement multithreading with JavaFX GUI. *Do not use google. This is a 4 mark question from the textbook...
A boutique shop sells varieties of suits, hats and shoes. Each item has a price tag. A customer can come and check for the price of any combination of the items. With a large number of options for eac...
Consider a company who takes online orders and process the 'largest' order first. This means the company needs to sort the orders before processing them. Create a Java program (pseudo code level) for ...
the program that allows the user to estimate of the cost to build multiple tables. This will be a menu driven program that will continue until the user specifically states that they do not want any a...
use files Rational.java and RationalTest.java III. For the Rational class described in lecture, define a method named lessThanRat so that two rational numbers can be compared to determin...
Use the hierarchy as given in the attach picture and modify the code as follows: Add all the classes in an eclipse package. 1. The Stats interface: Create the interface named Stats containing...
Consider the following: You need an Input file containing the student's first name, last name, five test scores You need an Output file containing the student's first name, last name, five test scores...
I developed a simple room reservation with Java IDE : Eclipce, source code as below I'm failed to performed functions as per below Cannot add on customer phone number , number of guest (max of 10), Ca...
You will use this file as your starting point for this assignment: Program5_2.java (The code is here: import java.util.Scanner; public class Program5_2 { public static void main ( String[] args ) ...
I have a question about batch test by using RLE in java I need to make a system to input and output file that makes by user. I got a stuck from here(code that I already wrote is bottom). import java.u...
I have a question about batch test by using RLE in java I need to make a system to input and output file that makes by user. I got a stuck from here(code that I already wrote is bottom). import java.u...
For the Rational class described in lecture, define a method named lessThanRat so that two rational numbers can be compared to determine if the first one is arithmetically "less than" the seco...
[13] 20 points use file PigLatin.java Write a method named piggie that accepts a String argument containing a single English language word, and returns the "Pig Latin" equivalent. Pig Latin...
Real estate agent advertisements frequently contain words from which all vowels — except for an initial one — have been removed. Thus, Desirable unfurnished flat in quiet residential area might be...
Type a program to read in a string of characters that represent a Roman numeral and then convert it to Arabic form (an integer). The character values for Roman numerals are as follows: Roman Symbol Va...
This is the Primes1.txt file. https://drive.google.com/file/d/1XZMTo2r25k29zLHFKzKiH3PAaix5PKU6/view?usp=sharing Demo program to the instructor or upload the java file to Ecampus: Using file input, re...
1. Flavours of ice cream are represented as String where the flavours are peppermint, raspberry ripple, and butter pecan. Draw a flowchart and write a program using switch statements to displ...
I vey appreciate your work. 1] Design a class Date: Provide 3 fields [int] to store the month number, the day number, and the year Provide the following methods: 0 Default constructor — sets date to...
EEZEE TRANSPORT is one of the renowned travel service providers. They are in a need of system which helps customer book vehicle from Chennai to various cities and find appropriate travel cost. You bei...
Java GUI (Calculator) Program Create a program for Integral Calculator Indicate "Integral Calculator" on the title bar. The result of value is always empty. The program will ask the user to ent...
you were given a problem in a competitive-programming style. You were given sample input and output for the problem. In this lab, you are required to do file with the sample input you were given in th...
Consider the method displayRowOfCharacters that displays any given character the specified number of times on one line. For example, the call displayRow0fCharacters ("*", 5); I have to produce the lin...
Type a method named printReverse that accepts a String as an argument and prints the characters in the opposite order. For example, printReverse ( " Uncle Foobar " ); should print rab...
Please use the java programmm. Try to develop a an Employee class that contains attributes like firstName, lastName, employee number (auto-generated), department, position, joining date (today's date)...
Write a Java method named sentenceType that accepts a single String parameter named s and returns a String that indicates whether the actual argument passed was declarative , excla...
I need help to run the test and fix errors of the two methods sentenceEditor() and charCount(), they should pass all the test cases in the program following the like.--- https://codeshare.io/5oJy1p
Discuss the concept of parameters. What are parameters for? What is the difference between formal parameters and actual parameters? Give an example in Java code that illustrates formal parameters and ...
Question:1 Write a JAVA program which should have the functions to compute the following. 1. Radians to degree conversion 2. degree to radian conversion 3. to compute sine of a number given in radian ...
Question 1: Food-delivery services like FoodPanda®️, Cheetay®️ are now offering grocery delivery services and for grocery they should offer multiple different delivery options depending upon the...
Define a Pet class that allows one to create objects that represent animals one might own as a pet. To keep matters simple, let's assume every pet has a name, a current age, and a current weight i...
The final project of this course is designed to allow each of you to show off what you've learned. The final project consists of creating a webpage on a subject of your choosing. There is no minimum o...
Implement the PERT algorithm. Starter code provided. Implement all the methods in the starter code. Driver class, Graph class, and test cases are all also provided. (See below.) Do not ch...
AD D COMMENTS IN THE CODE TO EXPLAIN DO NOT WRI TE SEPARATE public class Player { private String name; private double attackStat; private double blockStat; public Player (String name, double attackSta...
Can you fix the code below? Please explains and post the working code! Thank you so much! E22_7.java Writ3 a program WordCount that counts the words in one or more files. Start a new thread for each f...
Describe the layered design in a Java Network programming architecture, and explain how ports and stream sockets are involved in establishing, maintaining and closing a network connection in Java. *Co...
Define a Pet class that allows one to create objects that represent animals one might own as a pet. To keep matters simple, let's assume every pet has a name, a current age, and a current weight i...
Q1: Demonstrate the difference between Inheritance and Polymorphism. Also produce coded examples in java to show the difference. [8 Marks] [CLO3/PLO3 C3] Q2: Distinguish between Association, Aggregat...
There's a syntax issue display and I don't know the reason for it. Do you have any suggestions? public class HW51 { 5 60 public static void main (String args) recordWinner ( ) ; 116 public static void...
Implement a static generic method named problem5_minmax that takes as a parameter an array of type T and returns a Pair containing the minimum and maximum value in the array. Require that the ar...
Implement a static generic method named problem3_isPalindrome that takes as a parameter a generic array list and checks whether it is a palindrome; that is, whether the values at index i and n - 1 ...
I am confused on these problems: Classwork for 3rd period AP CS A X + X G Search Google or type a URL Unit review materials Chart the variables and determine the output for each program. The first cha...
Implement a static generic method named problem2_getElements that takes as a parameter any object that implements the Iterable<E> interface, and returns a String containing its elements ...
take your time but do it write. thank you 1] Design a class Date: Provide 3 fields [int] to store the month number, the day number, and the year Provide the following methods: 0 Default constructor ?...
[7] Write a method named season that takes as parameters two integers representing a month number and a day number, and returns a String that indicates the season for that month and day. Assum...
Main.Java : /** * GraphicsExample.java * Demonstrate drawing shapes in a component */ import javax.swing.JFrame; import java.util.Random; public class Main //GraphicsExample { public static voi...
[7] 15 points use file ReverseTest.java Write a method named printReverse that accepts a String as an argument and prints the characters in the opposite order. For example, printReverse ( "Uncle...
[4] 4 points In one or two clear, unambiguous English sentences, what does the following mystery method accomplish in general? For example, your answer might be expressed in the form: "This meth...
[6] 15 points use file SeasonTestjava Write a method named season that takes as parameters two integers representing a month number and a day number, and returns a String that indicates the season f...
[2] 4 points Fix the following flawed method printLetters, which accepts a String as its parameter and attempts to print the letters of the String, separated by dashes. For example, printLetters ( &q...
Can someone help me for my code? I do not understand why I'm getting errors. And what I can write the missing parts? ASAP?!?!!!!!!!!!!! Course Project Information Project Overview As a team of 4-5 pro...
List and DESCRIBE THREE (3) features of Java that promote software reuse and thus save time during program development.
Make the Measurable interface into a generic class. Provide a static method that returns the largest element of an ArrayList<T>, provided that the elements are instances of Measurable<T>. ...
Provide and example snippet of Java code that utilizes the function of recursion. Parlante (2016) provides examples of recursion in the factorial and bunnyEars snippets. Complete two of the recursion ...
we should Let twoD be a two-dimensional array, for example, as follow: int [ ][ ] twoD = {{2, 3, 4}, {5, 6, 7, 8}, {2, 4, 6}, {1, 2, 3, 4, 5}}; Write Java code fragment to process the el...
*program must have menu options the user can pick to sort etc..
** Starting of the code, What's the purpose of the code, Methods in comment. Also, Please do it in repl.it** Design a class Date: Provide 3 fields (int) to store the month number, the day...
Assignment to read text files and output file using merge/sorting 1. A user can choose (a) specific file(s), and the program will read data from a few external files (supporting either txt or csv form...
What method would I use in Java to process a request?
An employee in your organization has a seven-digit identification (ID) number. 1. How would you write program that guesses all the number combinations? 2. How could you alter the format of e...
take your time make sure its correct, neat and clear. thank you so much. 1] Design a class Date: Provide 3 fields [int] to store the month number, the day number, and the year Provide the following me...
Question: 2911112020 AP Computer Science A 04.06 Assignment Instructions—Animal Population Instructions: Write a program that uses the Monte Carlo sampling method to estimate the average number of a...
we are given the following interface class interface BigOperation { public BigInteger operation (BigInteger x, BigInteger y); } we should write Lambda expr...
The implementations of the methods addAll, removeAll, retainAll, toArray(), and toArray(T[]) are omitted in the MyList interface. Implement these methods using the code below. At the bottom of...
You must answer the questions below using the screenshot of what the Contact Class Requirements are (above screenshot) To what extent was your testing approach aligned to the software requirements...
we must create a custom exception class ValidationException. we must create a Phone class that has constructor with two parameters name and serialNumber. Throw a ValidationException if an empty v...
I want to make the image stoppable with the setTimeout() once it started spinning. it worked fine before adding the setTimeout(). However, I need to use the setTimeout() to slow down the spinning. Can...
two programs 1) application named StudentsStanding.java that allows you to enter student data that consists of an ID number, first name, last name, and grade point average. Have the program accept...
Edit question Assignment to read text files and output file using merge/sorting 1. A user can choose (a) specific file(s), and the program will read data from a few external files (supporting either t...
can someone help me with fixing this lab the error is : my lab : import java.util.Scanner; import java.io.File; public class Store Management { public static void main ( String[] args ) { ...
I need help writing this program using JAVAFX import java.awt.*; import java.awt. event .*; import javax.swing.*; public class InvestCalc extends JFrame { private JTextField jtfInvestmentAmou...
I need help creating a computer program in the language of your choice that emulates a Banyan-Batcher network with 8 inputs and 8 outputs and then scale the output to a 16 x 16 Delta Network. Use a r...
Why? I cant unlock more documents. I just paid for this.
If, double a = 2.5/2 and double b = 2.5/2 Is it possible that a may not be equal to b ? --I tend to believe that they must be equal. I know you have to be careful with floating-point numbe...
Output is stuck at 5.5 trying to get it to 5.50000 please help. import java.util.Scanner; public class Assignment3Problem3 { public static void main(String[] args) { Scanner scan = new Sca...
I need help. I don't know how to go about this... I'm trying to get the input to divide properly but when I run the code it's incorrect. Please help. public class Problem4 { public static voi...
Linked Lists define a list node define a singly-linked list with head node and counter be able to traverse the list from beginning to end and, for example, find a given node, print the dat...
HOW THE HECK do i make a method for process request rescue animal?!?!?!
Explain what a Java GUI event is. Describe, giving examples, the key steps involved in event handling in JavaFX. *I don't need codes, I only need pseudo codes and explaination about Java GUI with desc...
how would I make a "Method to process request for a rescue animal" veriables needed are String type ,String inServiceCountry, String trainingLocation, Boolean reserved I'm at my wits end trying to und...
Object Relationship and File IO Writ a program to perform statistical analysis of scores for a class of students. The class may have up to 40 students.There are five quizzes during the term. Each stud...
The application will not run PAST entering the User's Income. Once you enter Income it terminates the app and does not run following functions. Below is the app code. Please let me know why it is not ...
Suppose every employee in your organization has a seven-digit identification (ID) number. In your initial post to the discussion, address the following: How would you write program that guesses all th...
I have a question about Batch testing in java coding I got a stuck from here import java.util.Scanner; import java.io.File; import java.io.IOException; public class BatchTesting { public static voi...
Hello I need your help solving this problem. See the sample java programs the problem is referring to that was reviewed in lecture below: Rational.java class Rational { // instance variables...
This is an app that calculates tax rate per user input integers. Why does my application terminate after entering user earnings without running following functions? code: // import Scanner import java...
i need help with this project Description: a program that displays the classic BINGO game, displays a BINGO card (5x5 square), and tests the bingo card for a winner via 2 users Steps: 1- Ask user 1 ...
Please I need help with this project Description: a program that displays the classic BINGO game, displays a BINGO card (5x5 square), and tests the bingo card for a winner via 2 users Steps: 1- Ask ...
instantiating a BinarySearchTree<Integer,String> with TreeItem<Integer,String> objects. Your tree will be expected to properly handle the following test cases: Create 131,071 T...
Dear expert Java Programming tutors, I'm a little stuck here. Would someone be able to look at my code for me and help me complete it ? -this here is the project description https://www.dropbox.co...
import javax.swing.JOptionPane; public class quiz { public static void main ( String[] args ) { String question = "Who is the president of United states of America\n" ; question += "A. Bill Gates\n" ;...
Update lab 5 with ArrayList instead of arrays. We also have student information in files, which we load into the simulator (use students.txt included with the question). The format of each line of the...
Dear expert Java Programming tutors, I'm a little stuck here. Would someone be able to look at my code for me and help me complete it ? -this here is the project description https://www.dropbox.co...
Java GUI (Calculator) Program Create a program for Integral Calculator Indicate "Integral Calculator" on the title bar. The result of value is always empty. The program will ask the user to ent...
Discussion Debugging: Working with Loops (Teacher Version) Loops are a powerful and useful tool when writing programs. They can, however, cause some problems if they are not implemented correctly. Cla...
Part I: ToppingList Extend JList to make a ToppingList class. Set the starting elements in ToppingList(setListData) to represent all of the toppings that are available(simply use Strings to have this)...
Part I: The Merkle Tree Using the provided comments as a guide, complete the MerkleTree class. This class will store our list of transactions and generate the Merkle Root needed for our Block class. N...
I need help creating the Pet class based on the below pictured UML Class diagram. The Pet class must meet all the specifications from the class diagram including the following: All attributes with app...
Previous
1
2
3
4
5
6
7
8
9
10
Next
Previous
11
12
13
14
15
16
17
18
19
20
Next