Share
Explore BrainMass

Java

Java Programming

Write a Java program that does the following: 1.Creates a grading program based on a College grading standard (See attach file). 2. Uses a char array to hold the letter grades. 3. Creates two classes 'bill' and 'susan' with private grade attributes and two class methods to manipulate their grades. One method will ra

Java Programming

Access the emply and emplyC Java program. Code, compile, and run the program. There are five lines of code marked (1)..(5) that you must explain after analyzing the code, running the program, and examining the output. Post to the Answer Forum an explaination of each of the lines of code (1..5), that is, what the code does syntac

Java Programming

Access the array 4 Java program. Code, compile, and run the program. There are four lines of code marked (1)..(4) that you must explain after analyzing the code, running the program, and examining the output. Post to the Answer Forum an explaination of each of the lines of code (1..4), that is, what the code does syntactically a

Java / C# programming help

I have no idea in doing the following: Create new salary object based on the gross salary Store new salary object in array Check if the new gross salary is the new minimum and update accordingly Check if the new gross salary is the new maximum and update accordingly Please see the attachemnts for details.

Java Programming

I keep getting this error message java.lang.NoSuchMethodError: main Exception in thread "main" . What I am doing wrong? public class PersonTwo { public String name = "John Smith"; public String job = "Doctor"; public void display() { System.out.println("My name is " + name + ", I am a " + job);

Java

Here is a public class called Student Public class Student { public int studID = 0; public char studGrade = 'F';} Use Notepad to write a test class called testStud.java which will instantiate an object called myStudent. Use the object to write print statments to print the current values of the two attributes. Next,

JAVA PROBLEM: MORTGAGE CALCULATOR MODIFICATION If possible for ota 104485

ADDED CHANGES NEED FOR PROBLEM AND INCREASED BID TO 15. Also, the program should not except a neg number. 1. Modify the ScheduleDialog.java to have a button panel that will save the output to a file, read and display file content, and clear the text area: Write a class DataIOException.java that implements Throwable;

Writing Java program from scratch

Program reads info about students and their scores from a file and output the name of each student w/all his/her scores and the total score, plus the average score of the class, and the name and total score of the students with the highest and lowest total score. 4 files are provided: SavitchIn.java - contains simple input lib

JAVA PROBLEM

Modify MortgageDisplayGui.java to implement ActionListener.java ? Associate the current action listener with ? Write the action Performed function to perform the following tasks: o Interrogate the ActionEvent object and determine the source of the action. o Based on the source of the action call one of four functions &#6160

JAVA PROBLEM

Please help write a java program using a graphical user interface that accepts user input of the amount of the mortgage, the term of the mortgage and the interest rate of the mortgage and display the payment. Please use attached Mortgagedisplaycalcultor class diagram (must have the same names in the code) as a guide. The disp

JAVA PROBLEM;

Please help in building a non GUI mortgage calculator that calculates and displays when executed in NETBEAN compiler: Principal = $200,000 Interest Rate = 0.0575 Periods = 360 Monthly Payment = Then scrolls and displays Payment # Principle Monthly Payment Pay Date (15JUL05) Interest Payment Interest Paid Principle Paid Attached

Wrong output displayed in Java Program

My output display this: Mortgagecalculator@7ced01 The output should display Years: 30, Loan Amount $200000.00, Interest Rate: .0575, and Monthly Payment: Calculated by Math.POW. Then a list of loan balance and interest paid for each payment over the term of the loan should scroll off the screen, but need loops to display a pa

Java code for rectangle

Having problems with part of question beginning: "These classes come with default "constructor methods". Write the Java code for .." through to and including last question from the question below. The Class for a Rectangle is shown below. PlaneRectangle is a specialisation of Rectangle with fields that define the location of

Java program

Hello! I am trying to write a program in Java that will be able to recognise the contour of an image. An image is a two-dimentional table of boolean values (true=black, false=white), and the contour is the list of points which form the outer edge of the image. Two files are attached. The first is my class Image, and the se

Problems about binary search tree in Java

Questions: a. Consider the following binary search tree: (Please see the figure in attached problem file) i. What tree results after you insert the nodes 44, 48, 32, 36, 38, and 49 in that order? You only need to show the final result. ii. Given the original tree, what tree results when you delete the node 43 and then nod

A problem about data structure in Java

Question: You have a computer where multiplication is an enormously expensive operation compared to addition. Consider an algorithm for computing cubes using only addition (FYI: the first 5 cubes are 13 = 1, 23 = 8, 33 = 27, 43 = 64 and 53 = 125). This computation can be made using a two-pass (i.e. two loop) algorithm:

Stuck on coding Java IOExceptions

My problem is an exception class called ChatIOException that extends from IOException that is imported from the java.io package in order to extend IOException. Also, the ChatIOException class is within the package name javatraining.example.multithreads.chat There are 2 constructors that need to be declared for the ChatIO

Problem with Java

I am having problems identifing the appropriate class names, attributes and methods for the following objects. I need at least 3 attributes and 3 methods for each class. STUDENT INSTRUCTOR CLASS MAJOR For Example: Class Name Student Attributes socialSecurityNumber; studentName; studentDOB; Methods

Developing a java program

To Whom It May Concern: I need a solution (2 .java files) for the following question. The solution is not to be in the form of an applet. Rather it is to be just .java files. The deadline for this solution is Monday May 5, 2003 at 12:00 Noon. The first .java file will be named IntegerSet and will incorporate these cha