Share
Explore BrainMass

Java

Java Code

I need assistance in remarking the enclosed Java Code high-lighting, things like code layout, use of variable names, general readability and understandability.

Java Code

Java Code high-lighting, things like code layout, use of variable names, general readability and understandability.

JAVA code

I need assistance in remarking the enclosed Java Code high-lighting, things like code layout, use of variable names, general readability and understandability.

JAVA code

I need assistance in remarking the enclosed Java Code high-lighting, things like code layout, use of variable names, general readability and understandability.

Huge Integer Class - Java

Create a class HugeInteger which uses a 40-element array of digits to store integers as large as 40 digits each. Provide methods input, output, add and subtract. For comparing HugeInteger objects, provide the following methods: isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo. Ea

Writing a Java Program

I need assistance in creating a GUI front end for a pizza ordering program similar to that shown below. The result should look something like that presented in enclosed Figure. it must use a JComboBox to display the available pizza toppings (listed below), and when the Add to Order button is clicked, the selected toppings sho

Math.floor Java

Math.floor may be used to round a number to a specific decimal place. The statement y = Math.floor( x * 10 + 0.5 ) / 10; rounds x to the tenths position (i.e., the first position to the right of the decimal point). The statement y = Math.floor( x * 100 + 0.5 ) / 100; rounds x to the hundredths position (i.e., the se

Criticism-remarks on the enclosed java code

The enclosed Java code was suppose to address the following problem, where I require in giving comments/criticism/remarks if possible with respect to the Java coding standards. Problem Details: Write a Java program which defines two unconstrained arrays of user defined length n, that contain n Random numbers each and which out

Criticism-remarks on the enclosed java code

The enclosed Java code was suppose to address the following problem, where I require in giving comments/criticism/remarks if possible with respect to the Java coding standards. Problem Details: Write a Java program which defines two unconstrained arrays of user defined length n, that contain n Random numbers each and which out

Criticism-remarks on the java code

The enclosed Java code was suppose to address the following problem, where I require in giving comments/criticism/remarks if possible with respect to the Java coding standards. Problem Details: Write a Java program which defines two unconstrained arrays of user defined length n, that contain n Random numbers each and which out

Design and implement a Java program bubble sort process

I need assistance in Design and implement a Java program which sorts a 10 element integer array using the bubble sort process. The elements of the array to be sorted should be supplied by the user (assume the user will not input duplicates). The other details in the enclosed file.

Java Code Example

I need assistance in commenting on the enclosed code, consider things like code layout, use of variable names, general readability and understandability. The enclosed program implements a class called ShortAddress that has the following attributes: firstName, secondName, and phoneNumber. Also, implement a class called FullAd

Non-GUI based Java application - Payroll Program

Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of the employee and the weekly pay amount. In

Java program given three sides of triangle

I need assistance in having a java program which, given three sides of a triangle, determines whether the triangle is: 1. Equilateral - all sides the same length, 2. Isosceles - two sides the same length or 3. Scalene - no sides the same length The details of the problem are enclosed here with in two different forma

Java Programming

A class can contain variables (fields) and methods. We had an example of the class Car with int number_of_doors as variable. Can you give some examples of classes with variables and methods?

Java Programming

1. List three types of errors that you can encounter in a Java program, and describe what you will do to minimize the errors. 2. Create an array with 5 elements of type int in a for loop go from 0 to 5 (which means 6 elements) and try to print all elements; the program will compile, but what happens when you run it? What erro

Java Programming

I'll give a start; this is the class definition; it has one member variable, one constructor method, and another public method: public class Car { private int no_doors; public Car(int i) // constructor method { no_doors = i; } public int GetDoors() { return no_doors;

Java Applet

Your team has been hired as a Java programmer by Real Estates Solutions Inc. Your task is to write a Java applet for their web site that would enable customers to figure out their monthly mortgage payments. The applet input will be the loan amount, annual percentage rate or APR, and the number of years to pay out the loan. Th

Programming Language

25 questions. Reference: Concepts of Programming Languages sixth edition. See attached file for full problem description.

Java Program - need to create GUI in three different steps

I have posted my JAVA inventory program so far. I need to do 3 more versions of this. I have been using JDK 1.5 to create my programs and will need help with the following versions using this same version. I put enough credits for all three problems as I feel the same person helping me along with this would be easiest, but I can

Java Programming

I need the size of the frame to be set a little bit larger than its content, which is a label. Also, the location could be set so that it could be appeared not at the upper left corner of the screen. And we can set the foreground and background color of the label. import javax.swing.*; import java.util.*; public

HTML file to run program

This applet program needs an html file to run. You should supply the file along with the program so that the reader can test it. import java.applet.*; import java.awt.*; public class DrawRectangles extends Applet { int width, height; public void init() { width = getSize().width; height = getSi

9 button frame based application

Create a Frame-based application that displays an array of nine buttons on a Panel. Assign the Panel to the Center of your frame. Each button should display the name of a course in your department. Include a TextField in the South. When the user clicks a button, the course name should display in the TextField. There should be a

Array of Spices in Java

If I were to describe an every day situation, like being a chef at a restaurant, how would I implement an array (for inventory) of my spices (I would have a total of 20 spice bottles)? And, how would items in the array might be searched for or sorted? I don't need a full program, I just need pseudocode - a small example of ju

Java Help 3

A local middle school hired you to write a quiz program that answers questions about Math, Science and the Arts. The program user should be able to select from these topics by entering an option when the program starts. For example, you may use M for Math, S for Science, A for the Arts, and X to exit the program. After the stude

Java Help

1. What is the difference between a Java compiler and a Java interpreter? 2. Write a user-defined class called Person. This class should have private instance variables defined as: private int age;private String firstName;private String lastName; In addition, the class should have a constructor defined as: public Per

I keep getting errors when compiling this program in Java Netbeans Why?

The mortgage calculator must display the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. This program must have hard code amount = 200,000, term = 30 years, and the interest rate = 5.75%. Must have strings to declare the variables. ______________________

X3D versus VRML

X3D is currently replacing VRML as the nearest the internet gets to Virtual Reality currently. Is X3D suited specifically to certain applications over others? Discuss an application for the Internet where you believe Virtual Reality would be of benefit.

Computer troubleshooting

In a troubleshooting situation, a modem failed to work when a new internet browser program was installed. Which of these critical questions would likely lead a troubleshooter to the source of the modem failure. A. Have you ever had this problem before? B. Has the modem ever worked? C. Is the problem repeatable? D. Have you