Search Results

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: shubhang
Forum: Java Dec 15th, 2008
Replies: 5
Solved: pls clear doubt
Views: 672
Posted By shubhang
Thanks a million sir.
Shubhang Sharma,
Goa.
Forum: Java Dec 15th, 2008
Replies: 5
Solved: pls clear doubt
Views: 672
Posted By shubhang
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
Solved: pls clear doubt
Views: 672
Posted By shubhang
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: 412
Posted By shubhang
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,105
Posted By shubhang
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,105
Posted By shubhang
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: 445
Posted By shubhang
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: 447
Posted By shubhang
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: 447
Posted By shubhang
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: 472
Posted By shubhang
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: 262
Posted By shubhang
Welcome
Insert Card
Enter Pin
.....
Better take a walk to your nearest ATM
Forum: Java Nov 15th, 2008
Replies: 8
Views: 472
Posted By shubhang
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: 472
Posted By shubhang
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: 472
Posted By shubhang
Sir , but what does this do? e.printStackTrace();
Was this the main problem in the code?
Forum: Java Nov 14th, 2008
Replies: 8
Views: 472
Posted By shubhang
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: 472
Posted By shubhang
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: 364
Posted By shubhang
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: 364
Posted By shubhang
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: 275
Posted By shubhang
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: 778
Posted By shubhang
could anyone tell me what are Armstrong numbers and pascal's pyramid.
Forum: Java Oct 21st, 2008
Replies: 4
Views: 441
Posted By shubhang
Thanks for the help.
It cleared my doubt.
Truly appreciated.
Forum: Java Oct 21st, 2008
Replies: 4
Views: 441
Posted By shubhang
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,132
Posted By shubhang
Forum: Java Oct 21st, 2008
Replies: 7
Views: 1,132
Posted By shubhang
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,132
Posted By shubhang
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....
Showing results 1 to 25 of 25

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC