Share
Explore BrainMass

Java

JavaScripts, DHTML and HTML

1) Discuss the open source nature of JavaScript scripts. 2) Describe examples of JavaScript script usage in a commercial setting. 3) Explain the difference between DHTML and HTML.

JAVA

1. Why is top down design beneficial. Compare this type of design to another type of design you known. 2. This and that is a powerful keyword used in Java. How is it used and why is it so beneficial? Give an example in your explanation.

Java Inventory Button issue

1. Modify the Program to include an Add button, a Delete button, and a Modify (buttons have been added!!) button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item numbe

Develop a Java search

You are working on a custom Web application to create a document library for a client. The main function of the document library is allowing the user to locate documents based on keywords within the document. Because of licensing considerations, the client does not want to use a commercial search engine, so you need to develop o

JAVA "Date exception"

Now, let me introduce the exercise first. Textbook has given a .java file named "date.java", but it is not perfect; What I have done is the "ExtendedDate.java", which improved the "data.java" that the program will firstly check if the date input from users is valid then store it with the setDate method. Additionally, the "Exte

Mortgage Calculator Program

Remove drop down box and the user's selection from a menu of available mortgage loans: - 7 years at 5.35% - 15 years at 5.5% - 30 years at 5.75% Have it only calculate and display the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. Al

JAVA

Please see the attachment.

Database serach using Java

Recently, customer service representatives at your company have been complaining that retrieving a customer record takes too long. The database was developed in house, and the amount of data has grown tremendously over the years. However, management does not want to use a commercial database because they believe the software an

Question about Java program

Create a class named Date that stores date values and prints out the date in either a pure numeric format or a name and number format.

The NewtonsSquareRoot Class

The NewtonsSquareRoot Class Objectives ? Writing a class using conditionals that test double values ? Writing a class using a while loop The project directory should include the following: ? NewtonsSquareRoot.java ? NewtonsSquareRootTest.java Details To approximate the square root of a positive number n using Newton

Java Program for Payroll of Hourly and Salaries Employees

Write an employee payroll program that uses polymorphism to calculate and print the weekly payroll for your company. There are three types of employees ─ hourly, salaried, and salaried plus commission. Each type of employee gets paid using a different formula. But for all employee types, if the calculated paycheck exceeds $100

A combination lock has a dial with 26 positions labeled A-Z

Please see the attached file. Objectives ? Group statements into blocks ? Compare integers, doubles, strings, and objects ? Program conditions using Boolean operators and variables The work should include the following: ? CombinationLock.java ? CombinationLockTest.java Details Implement a combination lock cla

Java class creates an array of integers

Java Programming - Array Sort Description Write a Java class that creates an array of integers, fills it with values, prints the unsorted values, sorts the values into ascending order, and finally prints the sorted values. Write a class named ArraySort that has no instance variables, and the following public static method

Programming - Cat.java Class File

I need some help with writing this program. In the attached document are all the instructions also a sample of the program to be edited. Hopefully that helps, I'm just at the point to where I'm not understanding. Thanks in advance.

Reading and writing matrices in Java

My assignment is to test which algorithm is more efficient in transposing a matrix: a Naive or Fast Sparse algorithm. I need to construct functions for reach algorithm that call from an input file, which is a sparse Matrix. A text file called M5x5.mat looks like this. 5 5 11 0 3 297 1 0 230 1 4 291 2 0 390

Java Method for Converting Grades

If the user enters 'numbers': Get input for the grade number in decimal format. i.e. 74.22645 (enter it with 5 decimal places) Utilize the Math class and round the number to zero decimal places, then use the int cast method to convert to an integer. Utilize a switch statement to determine the corresponding letter grade. Out

Drawing Application: Java GUI

I need some help with the following question: Design a drawing application (have a look at Microsoft Paint application on your Windows system). The application must have menus, and must be able to draw one or more sharps (e. g. point, line, rectangle, oval, etc). The application should use GUI components.

Java - program structure function

Find a Java application on the Web and describe how the program structure functions. Describe the application in as much detail as possible. What functionality does the application have that you have learned about in this class? How could you improve upon it?

Definition of a class named Doctor

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 given in Display 7.5. A Doctor record has the doctor's specialty (such as "Pediatrician", "Obstetrician", "General Practitioner", and so forth; so use the type String), an

Program to Calculate Diver Scores

In the sport of diving, seven judges award a score between 0 and 10, where each score may be a floating point value. The highest and lowest scores are thrown out and the remaining scores are added together. The sum is then multiplied by the degree of difficulty for that dive. The degree of difficulty ranges from 1.2 to 3.8 point

HotDogStand Class

You operate several hot dog stands distributed throughout town. Define a class named HotDogStand that has a member variable for the hot dog stand's ID number and a member variable for how many hot dogs the stand has sold that day. Create a constructor that allows a user of the class to initialize both values. Also create a me

Java Inventory Display Program

Please assist with the following: - Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software). - Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit. - Cre

Counting Programs in Java

Define a class called Counter whose objects count things. An object of this class records a count that is a nonnegative integer. Include methods to set the counter to 0, to increase the count by 1, and to decrease the count by 1. Be sure that no method allows the value of the counter to become negative. Include an accessor metho

Writing Various Programs in Java

A tech support queue consists of n number of positions and the current position that the tech support individual is working with. If there are no customers that need assistance, the tech support person will go on break for x number of seconds (representing minutes). Also if a customer enters the support queue but the queue alrea

Secure e-commerce and Wireless networks

This solution explores the security threats faced by a company when implementing a wireless network. In particular, this solution utilizes a case study to explain the threats faced by the company and extrapolates on how the company can reduce the threats.

Java, FORTRAN, and C++

1a. What is the output from the following section of FORTRAN code? ISUM = 0 I = 1 20 IF (I .GT. 4) GO TO 30 ISUM = ISUM + I I = I + 1 GO TO 20 30 WRITE (*,*) ISUM b. Write an equivalent section of Java code. 2. What is true after the following statements in a C/C++

Relational Operators in Java

Why aren't the relational operator (==) and the .equals method interchangeable? Why isn't the following code correct? String myName = "Ken"; if (myName == "Ken") //do something

Java applet using JFrame SWING

See attached ----------------- Activities Listing YES NO Get information about cruises. Make reservations for dinning. Make reservations for golfing. Reserve the Club House. I am trying a SWING GUI program (probably using border layout North, South, East, West) to make this applet. Each button u