Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Write a program Find that searches all files specified on the command line and prints out all lines containing a reserved word.
Create a program that replaces each line of a file with its reverse.
Create a method for the Purse class public boolean sameContents(Purse other) that checks whether the other purse has the same coins in the same order.
Modify the definition of the class Roman so that the data members are declared as protected. Also incluse the method decimalToRoman, which converts the decimal
Write an application that calculates the amount of money earned on an investment, based on an 8% annual return.
Write array declarations for each of the following:
Develop an application that counts the number of words, number of characters with spaces and without spaced. The program should display the text file statistics
You complete a partially prewritten Java Program that uses an array. The program prompts the user to interactively enter 10 salaries, which the program stores
Design the logic and write the rest of the program using a nested statement. They are using JOptionPane.showInputDialog.
Declare two String variables named testScoreString and classRankString.
Calculate state withholding tax at 6.0% and calculate federal withholding tax at 25.0%.
Declare and initialize constants to represent the following values. Use in, double, or String and choose meaningful names.
Declare and initialize an integer variable named currentAge. Initialize this variable with your current age.
Create a Rectangle class with - Private attributes for width and height
Create a class called SimpleDate that includes three instance variables - a month, a day and a year (all type int).
Declare a variable for each of the data types, pay attention to the naming convention and syntax
Create an efficient Object-Oriented Java application that maintains information about college roommates who are renting a house together, for their realtor.
Write, compile and run a standalone Java application that displays an output line on the console.
You need to write a program that calculates sales tax and total sale amount. The user should be presented with a menu listing four different products
There are Java compilers and interpreters. Create 1 page on compilers and interpreters (2-3 paragraphs on each topic). You must include the following:
Add code that formats a String with the calculation's results
CustomerType enumeration contains constants representing 3 customer types: retail, trade and college
Create a class titled SchoolTextBook that contains fields for the author, title, page count, ISBN, and price.
You must identify yourself by including Java comment block at the beginning of your program source code.
An array of positive integers to sort according to the sequence represented by the integer number line. The bubble sort operates as follows: