Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Write a static method that checks if a String represents a valid integer value and returns true if valid, or false if not. For example, "123", "-45", and "0"
A combination lock has a dial with 26 positions labeled A..Z. The dial needs to be set three times. If it is set to the correct combination
Create a complete program that simulates the rolling of two dice. More specifically, it simulates a user-specified number of rolls and then prints a histogram
Create a Java class that creates an array of integers, fills it with values, prints the unsorted values, sorts the values into ascending order
Create a new class called Cat that includes the functionality below
Get input for the grade number in decimal format. i.e. 74.22645 (enter it with 5 decimal places)
Find a Java application on the Web and describe how the program structure functions. Describe the application in as much detail as possible.
Give the definition of a class named Doctor whose objects are records for a clinic's doctors. This class will be a derived class of the class SalariedEmployee
There are numerous ways to test for equality. == works fine for primitive types, but not for objects such as strings, etc. Why is this so? Discuss why
What is the concern about how Java implements arrays?
Create a simple Java payroll code. It needs to ask for the employee name, hours worked, and hourly rate. Then multiply the hours worked by the hourly rate
Design a Java application that accepts a positive integer n > 1 as a command line parameter and outputs all strictly increasing integer sequences
Create a program that reads three integer inputs into variables. Display the input values in both the ordered entered and in sorted order.
Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked.
The product will be Gold soda, there are 50 units in stock, and they hold a price of $1.10 per unit.
Discuss the open source nature of JavaScript scripts.
Write a JAVA application that finds the total and average of odd numbers from 1 to 15. Your JAVA program must use a counted loop to accomplish this task.
Create overloaded Java methods that return the difference of two parameters. Your methods should contain the logic to return the difference
Create a Java application that reads from a text file a set of lines containing the persons data in the format
The "Money" Class program completed with examples of the following:
Create a program that uses the paint component method to draw the current value of a JSlider on a subclass of JPanel.
Create a program that displays a digital clock in a window using an applet. The clock should show, day of week, date, time, time zone and year.
Design an applet Conversion.java that converts a character to a corresponding integer, and vice versa. The integer corresponding to a character is its ASCII
Define a class called Fraction, used to represent a ratio of two integers.
Create a program that allows the user to enter a line of text. I then need to use the stringTokenizer to break the input into words.