Hi this is what i am supposed to do:
RoomDimension: First, you should create a class named RoomDimension that has two fields: one for the length of the room, and one for the width. The...
Type: Posts; User: gpelefty90
Hi this is what i am supposed to do:
RoomDimension: First, you should create a class named RoomDimension that has two fields: one for the length of the room, and one for the width. The...
Thank you that did work but everytime i try and print the results in JOPtionPane i get this as a result "Program_4.PhoneBook@863399"
I dont know what this means
Hi I am supposed to create a class and create a constructor and accessors and mutators. then i must create a program that crates 5 instance objects of the PhoneBook class and stores them in an...
Hi, I have alot of confusion with a program I am supposed to write. The GUI App is supposed to take information from the user, that information is: Number of days on trip, amount of airfare, amount...
Thank you for your reply. I am still confused on how to align the JLabel to a JTextField. I was wondering if you could show me example. It seems i have to put all of these fields in a Layout to...
Hi, I have alot of confusion with a program I am supposed to write. The GUI App is supposed to take information from the user, that information is: Number of days on trip, amount of airfare, amount...
Thank you! one problem though. I am supposed to display the speed each time the accelrate method is called and each time the brake method is called
Hi Here is my following problem:
I have 3 fields:
yearModel
make
speed
the class is labeled Car.
I must create a cosntructor thast accepts the cars year model and make as arguments. these...
I have written my code and almost everything is write except i can not get the determineGrade method to work. the calcAverage method works great but i can not get the other method to work.
here is...
and then you write that methodName outside the main method and describe what the method should be calc. right?
I apologize for the confusion. but yes that is what i ment. I am confused on how to construct the main method in order for it to call the two sub methods and pass them the arguments
yes, i know how to create the two sub methods but what i am confused about is how to create the main method to pass it to the two sub methods.
Hi, I am having trouble figuring out how to put all of this code together since it combines methods and if else statements. I was wondering if anyone could help me out. Here is the problem:
Write...
Here is the problem:
Write a program that creates a 2 dimensional array X containing 4*6 elements. Store numbers from 1-24 in the array. Create another array Y that can store 3*8 elements. Write a...