Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Create an application that changes the color of the frame for every click of the button. Change the color back and forth from red and blue.
Based on the Businessline (2007) article, define open source software and describe its importance to developers. Is all Java code open source?
Design a Java class named MyPoint to represent a point with x and y coordinates. This class should contain:
Create a Java program that demonstrates a static recursive method that accepts two integer arguments into the parameters x and y
Design a Java class named Person with fields for holding a person's name, address and telephone number.
Suppose that the tuition for a university is $ 10,000 this year and increases 5% every year. Write a Java program that uses a loop to compute the tuition
Create a public static method named compareScores that takes two doubles as its arguments and returns the integer value of -1 if the first argument
Create a Java public static method named decimalPart that takes a double as its argument and returns a double that is just the fractional part of the number
Create a class named Movie that can be used with a video rental business. The Movie class should track the Motion Picture Association of America (MPAA)
Create a program that displays a student ID number and asks the user to enter a numeric test score for the student.
In the game of Craps, a "Pass Line" bet proceeds as follows. Using two six-sided dice, the first roll of the dice in a craps round is called the "Come Out Roll"
Develop a class named Course to represent a course offered at a college.
List three challenges in planning and designing a solution for a programming problem. What may you do to overcome these challenges?
When a user selects the Preset Term & Interest Rate from the drop down it does not populate the 'Term' and 'Interest Rate' field.
Describe the components pieces of the J2EE distributed application architecture.
Write a java program using ArrayList to allow the professor to enter student's name, his or her's four test scores, then display each student's average
Suppose that you need a FullName class, which will contain a person's first name and last name. There are two different ways of implementing this.
Implement a Java program that reads phone numbers, and for each phone number, it displays the phone number's three components - country code, area code
How do I write a java program to generate 10 numbers and write them to a file?
Implement the SCAN, C_SCAN, and LOOK disk scheduling algorithms in Java. Namely, the first command-line parameter must be the current head position.
Ask for users' input for the past 5 years of tax amount, save this data to a file. Open the file, read the data, and display the largest and smallest amount
Create a Java application that takes user input from the keyboard, and searches for this input in a predefined sorted array.
Write a Java program that simulates the battle between a cat and mice.
Create a program in Java (with a graphical user interface) that calculates and displays the mortgage payment amount, based on the user input of the mortgage
Java and many other programming languages have taken the approach of executing on a virtual machine, as opposed to compiling to native machine code.