Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Write an if-else statement to describe an object. Print Balloon if isBalloon is true and isRed is false. Print Red balloon if isBalloon and isRed are both true.
Create a main() method with a switch statement that calls either a sum() OR factorial() method, depending on what selection the user of the program makes.
Create a class diagram for classes that would need to be created for the driver licensing system use case described in the previous question.
The State of Minnesota is trying to create the software for a driver licensing system. Create a single use case for interacting with the system.
Provide a code snippet that will find the largest number in the array and calculate the number of computational steps required.
Write a Java class with a method to convert centimeters to inches. Ask the user to enter the value in inches and your program passes the value to a function.
Devise a simple game that the player can play from the basic command-line interface that tracks players high scores. The rules of game are completely up to you.
Create an application Kennel that instantiates two Dog objects and updates the names and weights with data from the user.
Develop a design for the Menu Management Application. Code the application using best coding practices to implement the design developed in step 1.
Write a program that reads in a set of positive integers and outputs how many times a particular number appears in the list.
Design a TestScores class that has fields to hold three test scores. The class should have a constructor accessor and mutator methods for the test score fields.
a password method* should use the users last name, state and zip code to create a password for them this password should not be printed by the method.
Demonstrate the method by calling it in a loop that displays a table of the Fahrenheit temperatures 0 through 20 and their Celsius equivalents.
Write a java method testShapeIFace(int numShapes) so that it has the following functionality:
Design a Lotto class with one array instance variable to hold three random integer values (from 1 to 9).
Write a Code JAVA class named Order that performs order processing of a single item. The class should have five fields or attributes.
Code a JAVA a class named Building; and two subclasses: House and School. The Building class contains fields (attributes) for square footage and stories.
Describe what overloading is, and why it is important. Do you commonly use overloading in your code? Give some examples where you have used it.
Write a java code to implement a hash table and use it to store words in a large text file. Your hash table should use chaining for collision resolution.
Write Java program that will store data in the form of daily average temperatures for one week. Store the day and average temperature in different arraylists/
Create an animals class for 3 types of animals. Dogs, fish and birds. With its methods and attributes in the class for different animals that will be created.
Write program that displays the following information: The amount of money Joe paid for the stock. The amount for which Joe sold the stock.
Create coordinate Test data structure with a JavaScript array of points. You have to use map, filter, and reduce in order for geometric transformations.
Write a program that takes a String as input from keyboard, representing a year. If year entered has four characters, just convert it to an int and output it.
Write a program that reads a sentence from the keyboard. Depending on the last character of the sentence, print a message identifying sentence as declarative.