- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
I'm writing a class to represent a flight. The only error I'm getting is on line 97. Flight.java:97: error: missing return statement /** Class Flight represents a plane at an airline Author: Anna Mae Decker E-mail address: adecker0033@kctcs.edu Last changed: 02/10/13 Assignment1 */ public class Flight { /* * declare … |
|
Re:
Im trying to call the method "public void insertCard(int p)" within the same class into the method " public void deposit (double amount) " My code for both methods is displayed below. the objective would be to have the deposit method return the last print statement if the card is … |
|
How do I display an image in a picturebox using a variable name? string name = "photo.jpg"; pictureBox1.ImageLocation = name; // or Image image = Image.FromFile(name); pictureBox1.Image = new Bitmap(image); neither is working. I'm getting the small box with an x in it. Any help? Thanks |