- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
? missing return statement! hi guys, Im trying to compile this class below, but its just not working, it keeps sating 'missing return statement' int the method declaration line. Can u see to check if there is anything missing in my code or if iv done something wrong?? Thanks! [code]public … |
|
I was given a programming exercise which calls to: "Write a program to create a file named Exercise09_19.txt if it does not exist. Write 100 integers created randomly into the file using text I/O. Integers are separated by spaces in the file. Read the date back from the file and … |
|
Please suggest a good book for learning [B]struts[/B]. I am a beginner with struts, So kindly suggest book keeping this thing in mind. Till now I have heard about [CODE]Struts 2 in action[/CODE]. Any information about this book is very helpful. Kindly reply as soon as possible. |
|
Our teacher really sux, he just wrote this down on the board but didn't explain the program :(...after a lot of search i finally understand what is try and catch but what is the meaning of [iCODE]byte b=new byte[255];[/iCODE] in this program ? and why the program is not working … |
|
I'm writing a program that will ask the user for input and then store it into an array until called to the output screen. here is an example of my code so far. I have no idea how to get the input to store in the array. import java.util.Scanner; public … |
|
I have been incurring errors during compile, in which I cannot seem to figure out where the problem relies. I have a class file which is different from the java file. When running the java file im recieving the error of cannot find symbol. {note both of the files are … |
|
Hello Members, What is the largest integer that can be stored in Java? Thank you!! |
|
hello every one this program compares loans with various interest rates [CODE] public static void main(String[] args) { Scanner input=new Scanner(System.in); //Prompt the user to enter the loan amount System.out.print("Enter the loan amount:"); int loanAmount=input.nextInt(); //Promp the user to enter the period in number of years System.out.print("Enter number of years:"); … |
|
pls help me to solve my problem. here's my code [CODE]import java.io.*; public class ifelse { public static void main(String[] args) throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int a; System.out.println("Enter your Level"); a = Integer.parseInt(in.readLine()); if (a == 1) System.out.println("\nYou are Freshman"); else if (a == 2) System.out.println("\nYou … |
|
Hi, My java is really bad and I haven't had to use it in a few years but I want to make it better so I've decided to try building it up slowly but at the moment I'm a little stuck and was wondering if anyone could help point me … |
|
hi guys!:) ....first I'm new friend for u :$:$:$:$ and for first time I wanna to tell u that I wanna some help ....:S ..In the programming java... I have a game and I want to finish it....who can help me ???:S:S:S:S thx alot u r friend touma |
|
Recently I have made a simple chatting application(in Java). It has two classes one for client and one for server.On compiling it is not giving any error but on running, it is not giving desired result. So, It will be grateful if you come ahead and try out helping me … |
|
guys i trying to run simple applet program but getting the same error that "START:APPLET NOT INTALIZIED".i save both of files in the same folder "bin" but yet the same error.can any one help me.here is my code[ [code]import java.applet.*; import java.awt.*; public class move extends Applet{ int x_pos = … |
|
I have a project on sports Club Management. In that, I am providing add, delete, update and search facility. Add command is working simply by : `String qry="Insert into sport values('"+s1+"')"`; `smt.executeUpdate(qry);` This is just an example where I took only s1. But in delete, I wrote: String qry="Delete from … |
|
hey im trying to make a program that if you use a scanner class you can type A and then the switch statment will change that to something else. altho i just realised that i cant do this as the way i would read a letter into a scanner would … |
|
Here's the prompt guys: Assignment #4 will be the construction of 2 new classes and a driver program (the class containing a main method). [B]Address class[/B] The Address class describes cpu of a bank. It has following attributes: Attribute name Attribute type Description city String the city of the bank … |