Browse J
Alphabetical listing with fast deep pagination.
10965 items • Page 22 / 220
JAVA Propose a set of 10 letters in some random order. Show the results of inser
JAVA Propose a set of 10 letters in some random order. Show the results of inserting those letters, letter by letter, in that order into a heap data structure, using the array rep…
JAVA Pruning BSTs : write a method/function that prunes a BST by “deleting” node
JAVA Pruning BSTs: write a method/function that prunes a BST by “deleting” nodes with key values out of a given range [min, max]. Since actual deletions of nodes from BST is expen…
JAVA PseudoCode Prompt You have assumed the role of managing the technology infr
JAVA PseudoCode Prompt You have assumed the role of managing the technology infrastructure at a zoo. You will develop a working program (either an authentication system or a monit…
JAVA Q1: Write the statements to create a 3 by 4 two-dimensional array of intege
JAVA Q1: Write the statements to create a 3 by 4 two-dimensional array of integers names x. Q2: Provide the statements that would sequentially display the elements of the array x …
JAVA Q: Aggregation is different from composition in that: a.) an object B that
JAVA Q: Aggregation is different from composition in that: a.) an object B that is contained in an aggregate object A cannot outlive A. b.) no objects contained in an aggrgate obj…
JAVA QUESTION (recursion) DrawingPanel class: https://docs.google.com/document/d
JAVA QUESTION (recursion) DrawingPanel class: https://docs.google.com/document/d/1wCIMItUt7vTZj3C46juYn_vayZh0Ja8TrhXdkmpMmVQ/edit?usp=sharing Draw circle: import java.awt.*; impo…
JAVA QUESTION 1 The value returned by a value-returning method can be saved for
JAVA QUESTION 1 The value returned by a value-returning method can be saved for further calculation in the program. True False QUESTION 2 To use a predefined method you must know …
JAVA QUESTION 1. Write a hierarchy of Java classes (in Java) based on the super
JAVA QUESTION 1. Write a hierarchy of Java classes (in Java) based on the super (parent) class ComputingDevice (as in for example a personal computer). The parent class should b…
JAVA QUESTION 11 Consider the following method. public static int minimum(int x,
JAVA QUESTION 11 Consider the following method. public static int minimum(int x, int y) { int smaller; if (x < y) smaller = x; else smaller =…
JAVA QUESTION An airport has two concourses. Concourse I passengers arrive at a
JAVA QUESTION An airport has two concourses. Concourse I passengers arrive at a rate of one every 15 ± 2 seconds. Concourse 2 passengers arrive at a rate of one every 10 ± 5 secon…
JAVA QUESTION Define a class SchoolEmployee with Fields of FirstName, LastName,
JAVA QUESTION Define a class SchoolEmployee with Fields of FirstName, LastName, OfficeNumber, Organization and a set of set/get methods. It also has a method, Work, which just pri…
JAVA QUESTION How do I fix this Checkstyle error in eclipse? \"20.0 is a magic n
JAVA QUESTION How do I fix this Checkstyle error in eclipse? "20.0 is a magic number" I want to re-write the the entire code shown by: 1) Define a class constant with a meaningf…
JAVA QUESTION Part 2: Course Registration (50 points) Write a Student and Course
JAVA QUESTION Part 2: Course Registration (50 points) Write a Student and Course class that might be part of a course registration system. A student is described by: first name la…
JAVA QUESTION Please provide a demo program(s) that implement and used the metho
JAVA QUESTION Please provide a demo program(s) that implement and used the methods: A generic method that returns the minimum element in an array. public static> E min(E[ ] lis…
JAVA QUESTION Using only: Classes, arrays, reading files, loops, and selection I
JAVA QUESTION Using only: Classes, arrays, reading files, loops, and selection In this problem you will write a set of classes which keep track of a set of player’s scores during …
JAVA QUESTION instructions: make something similar to the example output is give
JAVA QUESTION instructions: make something similar to the example output is given below + JAVA DOC Madlibs Lab: Here are the input files examples Tarzan txt : One of the most <…
JAVA QUESTION. ABOUT ARRAY! plz help Complete the missing parts of the program b
JAVA QUESTION. ABOUT ARRAY! plz help Complete the missing parts of the program by determining from the method headers what the program is intended to do. { /*---------------------…
JAVA QUESTION: JAVA QUESTION instructions: make something similar to the example
JAVA QUESTION: JAVA QUESTION instructions: make something similar to the example output that is given below + JAVA DOC Madlibs Lab: Here are the input files examples Tarzan txt : …
JAVA QUESTION: Please modify the following code. The following code currently pr
JAVA QUESTION: Please modify the following code. The following code currently produces the following output (see picture). Can someone please edit this code so that the ax^2 slide…
JAVA QUESTION: Suppose that you are writing a class named Student. It has three
JAVA QUESTION: Suppose that you are writing a class named Student. It has three private attributes: int id; String name; and double gpa; Write a constructor with three arguments f…
JAVA QUESTION: The grade level is calculated with the following formula: 0.39 (t
JAVA QUESTION: The grade level is calculated with the following formula: 0.39 (total words/total sentence) + 11.8 (total syllables/total words) - 15.59 Problem. Using this formula…
JAVA QUESTION: We’ll continue working with file IO and exception handling by bui
JAVA QUESTION: We’ll continue working with file IO and exception handling by building a simple text-based interface for browsing the file system. When your program starts it shoul…
JAVA QUESTION: Write a hangman’s program where the user is a computer that has t
JAVA QUESTION: Write a hangman’s program where the user is a computer that has to guess the word “JAVA.” The computer uses a brute force method. First write the program that sho…
JAVA QUESTIONS 1. Implement (define) a class named carType.java. A carType has a
JAVA QUESTIONS 1. Implement (define) a class named carType.java. A carType has a model(a String) and a price (a double). It provides the methods to set the price (give the price a…
JAVA QUESTIONS. INTRODUCTION TO CSC I. True or False. ____1. Binary search on an
JAVA QUESTIONS. INTRODUCTION TO CSC I. True or False. ____1. Binary search on an array of length n looks in about n/2 locations in the worst case. ____2. The smallest subscript in…
JAVA QUESTIONs 1. In implementation, this data structure suffers many of the sam
JAVA QUESTIONs 1. In implementation, this data structure suffers many of the same efficiency problems as an array: a. queue b. stack c. linked list d. array list 2. Number the fol…
JAVA QUIZ package popQ; public class Methods { /* 1. Write a complete Java metho
JAVA QUIZ package popQ; public class Methods { /* 1. Write a complete Java method called sumNums that takes no parameters and returns an integer. The method uses a do-while loop t…
JAVA Question 1 Which of the following statements best describes inheritance in
JAVA Question 1 Which of the following statements best describes inheritance in Java? Question 2 Which of the following statements best describes the throws statement in Java? Que…
JAVA Question 2: This question refers to the specific implementation given in th
JAVA Question 2: This question refers to the specific implementation given in the text. In this coding, the second argument to union is always the champion. Using QUICK UNION (no…
JAVA Question 3: This question refers to the specific implementation given in th
JAVA Question 3: This question refers to the specific implementation given in the text. In this coding, when there is a tie, the first argument to union is always the champion. No…
JAVA Question 3: Why would a class be declared as abstract? a. Because it has no
JAVA Question 3: Why would a class be declared as abstract? a. Because it has no abstract methods b. So that it can be used as an interface c. So that it cannot be inherited from …
JAVA Question Write a class named Rectangle to represent a rectangle The class s
JAVA Question Write a class named Rectangle to represent a rectangle The class should have the following: 2 double data fields, width and height with default values of 1 A constru…
JAVA Question Write a processing sketch that contains an array of 10 Ball object
JAVA Question Write a processing sketch that contains an array of 10 Ball objects and displays them on the screen. When the user clicks the sketch, the balls should fall towards t…
JAVA Question! Please follow instructions. (1) Prompt the user for a title for d
JAVA Question! Please follow instructions. (1) Prompt the user for a title for data. Output the title. (1 pt) Ex: (2) Prompt the user for the headers of two columns of a table. Ou…
JAVA Question: 1. S.upp.ose that you a.r.e writ.ing a clas.s named St.ude.nt. It
JAVA Question: 1. S.upp.ose that you a.r.e writ.ing a clas.s named St.ude.nt. It has thre.e private attri.butes: int id; Stri.ng name; and double gpa; Wr.ite a c.on.s.tru.ctor wit…
JAVA Question: Carpet Calculator The Westfield Carpet Company has asked you to w
JAVA Question: Carpet Calculator The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the …
JAVA Question: Carpet Calculator The Westfield Carpet Company has asked you to w
JAVA Question: Carpet Calculator The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the …
JAVA Question: I need help with this code. After I add all 5 flowers, I remove o
JAVA Question: I need help with this code. After I add all 5 flowers, I remove one so one index goes to null, but won't let me refill that index with another flower. I'm gettting …
JAVA Question: LINKED LIST Here, on the first part we are inserting 500 and then
JAVA Question: LINKED LIST Here, on the first part we are inserting 500 and then on second part removing 5. I am not understanding the "while loop" part on both. Can you comment o…
JAVA Questions! In the following, means \"...\" In the exam, could you tell me..
JAVA Questions! In the following, means "..." In the exam, could you tell me..." Do you understand simple UML diagrams? ...what a simple UML diagram showing object inheritance (is…
JAVA READERS / WRITERS PROBLEM Assume there are multiple readers that want to re
JAVA READERS / WRITERS PROBLEM Assume there are multiple readers that want to read from a database and also, there are multiple writers that want to update the database. While man…
JAVA RECURSION In class, you learned about some algorithms for sorting and searc
JAVA RECURSION In class, you learned about some algorithms for sorting and searching collections, as well as how to write recursive methods. The chocolate factory has recently det…
JAVA ROMAN NUMERAL CONVERSION! 1.The program will use a menu selection that will
JAVA ROMAN NUMERAL CONVERSION! 1.The program will use a menu selection that will allow the user to convert from either an integer to a Roman numeral number, or from a Roman numera…
JAVA RSS (Really Simple Syndication) is an XML application for distributing web
JAVA RSS (Really Simple Syndication) is an XML application for distributing web content that changes frequently. Many news-related sites, weblogs and other online publishers syndi…
JAVA Read an input CSV file containing addresses using a Scanner object. Don\'t
JAVA Read an input CSV file containing addresses using a Scanner object. Don't redirect from stdin, read directly from the file. Here are two sample lines from a mailing list: lin…
JAVA Recall 2! USING IF STATEMENT Write a program that reads a single token stri
JAVA Recall 2! USING IF STATEMENT Write a program that reads a single token string that represents a car model (e.g. toyota, ford, fiat) and an integer representing a year. (In th…
JAVA Recursion In this lab, you will create three recursive methods along with t
JAVA Recursion In this lab, you will create three recursive methods along with their iterative counterparts 1. Palindromes 2. Greatest common denominator 3. Decimal-to-binary conv…
JAVA Recursively complete the sizeAtDepth for a binary tree. This should return
JAVA Recursively complete the sizeAtDepth for a binary tree. This should return all the total of all nodes below depth of k. One helper function must be used. public class MyIntSE…
JAVA Recursively complete the sizeBelowMethod for a binary tree. This should ret
JAVA Recursively complete the sizeBelowMethod for a binary tree. This should return all the total of all nodes below depth of k. One helper function must be used. public class MyI…
JAVA Recursively complete the sizeBelowMethod for a binary tree. This should ret
JAVA Recursively complete the sizeBelowMethod for a binary tree. This should return all the total of all nodes below depth of k. One helper function must be used. public class MyI…