Forum: Java Dec 15th, 2008 |
| Replies: 5 Views: 687 Thanks a million sir.
Shubhang Sharma,
Goa. |
Forum: Java Dec 15th, 2008 |
| Replies: 5 Views: 687 Sir,
the letmegoogleit.com was excellent.
thanks for telling me that I can do that.
but,I have found this but it still doesnt clear my doubt
the asking program uses a set of standardized... |
Forum: Java Dec 15th, 2008 |
| Replies: 5 Views: 687 Hi!
I wanted to know in simple language what is an API (application program interface).
I have made an address book program so can I call it an API.
Help will be highly appreciated. |
Forum: Java Dec 5th, 2008 |
| Replies: 4 Views: 417 Please help me with a simple watch program.
In the program,I have to display on the same line.
i have written the following code which is not working.
pls look into it
class watch
{
private... |
Forum: Java Nov 22nd, 2008 |
| Replies: 5 Views: 2,196 Sir,
I am new at java ,so I dont know where to look for it.
I searched my notes ,but didn't find anything.
Please tell me where to find it.
Thanks |
Forum: Java Nov 21st, 2008 |
| Replies: 5 Views: 2,196 Hi,
I am making a java program to make a countdown timer.
User enters time,then when time is up a message is printed.
How do I print the time on the same line?
Please tell me how to go about it.... |
Forum: Java Nov 20th, 2008 |
| Replies: 3 Views: 457 I have made this delete class of my address book program.
It gives an error when I use the renameTo() function.
Please look into my program.
import java.io.*;
import java.util.*;
class del
{... |
Forum: Java Nov 20th, 2008 |
| Replies: 4 Views: 456 When I run the program,the search part(HIGHLIGHTED) does not work.
Please tell me where I am going wrong.
import java.io.*;
import java.util.*;
class search
{
private String str,sval;... |
Forum: Java Nov 19th, 2008 |
| Replies: 4 Views: 456 Hi,
I am new at java.
I have made the search class of an address book program
with the functions of add, modify and delete.
Please have a look into the code.
Please also explain the function... |
Forum: Java Nov 15th, 2008 |
| Replies: 8 Views: 483 The error i get while runtime is as follows:
Exception in thread "main" java.util.NoSuchElementException
at... |
Forum: Java Nov 15th, 2008 |
| Replies: 2 Views: 264 Welcome
Insert Card
Enter Pin
.....
Better take a walk to your nearest ATM |
Forum: Java Nov 15th, 2008 |
| Replies: 8 Views: 483 This is the modified code.
It is not working properly.
Please look into it.
import java.io.*;
import java.util.*;
class search
{
private String str,sval; |
Forum: Java Nov 15th, 2008 |
| Replies: 8 Views: 483 Sir,
I tried the e.printStackTrace();,instead of System.out.println("error");
But now I get a compile time error as follows:
C:\Documents and Settings\comp1\My Documents\search.java:49: cannot... |
Forum: Java Nov 15th, 2008 |
| Replies: 8 Views: 483 Sir , but what does this do? e.printStackTrace();
Was this the main problem in the code? |
Forum: Java Nov 14th, 2008 |
| Replies: 8 Views: 483 Please try running the program.
It is a part of my address book program.
The class searches records by first name,surname,area code,city and state.
The clear class just prints 100 blank lines to... |
Forum: Java Nov 14th, 2008 |
| Replies: 8 Views: 483 I am new at java.
I am making an address book program.
Below is a code of the Search class.
Could anyone please look into it?
The program is giving a problem while runtime.
import java.io.*;... |
Forum: Java Nov 14th, 2008 |
| Replies: 3 Views: 367 So how can we input a word like "hello world" as binary,
or a number like 123?
Which stream would I use to do this(pls give the syntax). |
Forum: Java Nov 14th, 2008 |
| Replies: 3 Views: 367 How to make streams to read and write files (in binary) .
I have found a few Streams but do not know which one to use.
they are as follows:-
PrintStream p=new PrintStream(new... |
Forum: Java Oct 21st, 2008 |
| Replies: 1 Views: 284 I am in 10th grade and I am learning java.
Could you please tell the difference between the Stream tokenizer and String tokenizer.
I found it in my notes and could not understand its concept (as it... |
Forum: Java Oct 21st, 2008 |
| Replies: 1 Views: 803 could anyone tell me what are Armstrong numbers and pascal's pyramid. |
Forum: Java Oct 21st, 2008 |
| Replies: 4 Views: 450 Thanks for the help.
It cleared my doubt.
Truly appreciated. |
Forum: Java Oct 21st, 2008 |
| Replies: 4 Views: 450 I observed that many programmers do not create separate functions.
They write the whole program in the main function.
Doesn't this reduce its modularity?
eg:
class abc
{
public static void... |
Forum: Java Oct 21st, 2008 |
| Replies: 7 Views: 1,215 |
Forum: Java Oct 21st, 2008 |
| Replies: 7 Views: 1,215 In the program, I display the main menu,then ask for user's choice.
after the task is performed I display the main menu again to ask for what should be done next.
Each time the task is over it... |
Forum: Java Oct 21st, 2008 |
| Replies: 7 Views: 1,215 I am a beginner at Java.
I have been given an assignment to make a simple address book(without applets) using Java.
It should have the following functions:-
1) search-by name,city.... |