Search Results

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: yilmazhuseyin ; Forum: Java and child forums
Forum: Java Jun 30th, 2009
Replies: 1
Views: 278
Posted By yilmazhuseyin
please explain. I have no idea what you are trying to do.
1) you have an app working on a remote computer ( a music player maybe ) and your code will run in remote machine and close the...
Forum: Java Jun 22nd, 2009
Replies: 2
Views: 336
Posted By yilmazhuseyin
you have nested array lists here (as you know. )


ArrayList<ArrayList<Integer>> a = new ArrayList<ArrayList<Integer>>(5);
/*create a new arraylists of arraylist so outer arraylist has 5 element...
Forum: Java Jun 22nd, 2009
Replies: 2
Views: 208
Posted By yilmazhuseyin
I understood what you are trying to do but I think you should write it again. because it wont work. ok here how you should write it.
1 ) make a loop that turns until there is no token left on...
Forum: Java Jun 19th, 2009
Replies: 6
Views: 554
Posted By yilmazhuseyin
I saw this problem in a movie (I think its name was 21) and I never thought about it. After I saw it here this morning I started to think about it. I had worked on it for 12 hours and I finally...
Forum: Java Sep 3rd, 2008
Replies: 6
Views: 774
Posted By yilmazhuseyin
you can also use String Tokenizer (http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html) class.
Forum: Java Aug 23rd, 2008
Replies: 3
Views: 1,236
Posted By yilmazhuseyin
I would use a recursive approach for this problem. here is the logic:
int changeCombinationNumber(int change)

if it is less then 5 return 1;(ve are returning 1 because if it less then 5...
Forum: Java Jun 30th, 2008
Replies: 2
Views: 377
Posted By yilmazhuseyin
actually I'm new to servlets too. but when I was doing a research I saw something about web services that those sites give. just google something like "web services google maps" or "web services...
Forum: Java Jun 30th, 2008
Replies: 8
Views: 835
Posted By yilmazhuseyin
probably that's not what you need since you are overwhelmed with the problems in hand, but if I where you I would write a dice class that rolls. checker class that checks if you win or not. and a...
Forum: Java Jun 30th, 2008
Replies: 6
Views: 586
Posted By yilmazhuseyin
first of all I suggest you learn what scanner class is capable of. Not because you are doing something wrong, but there is a lot of different functions that you can use in that class. here is a link...
Forum: Java Jun 27th, 2008
Replies: 6
Views: 616
Posted By yilmazhuseyin
package dw_synch;
import java.io.*;
public class Synch {
private static String strSource = "C:\\source";
private static String strTarget = "D:\\target";
public static void main(...
Forum: Java Jun 26th, 2008
Replies: 5
Views: 29,991
Posted By yilmazhuseyin
I have more than onw suggestions for you.

1) instead of checking if it is a letter or a special character. you could check if it is a number between 0 to 9 so if all the characters are numbers you...
Forum: Java Jun 26th, 2008
Replies: 5
Views: 739
Posted By yilmazhuseyin
I just wanted to say that I think you shouldn't do your calculations in your constructor. you could give the values in constructor maybe. but if I were you I would write a separate method to do the...
Forum: Java Jun 20th, 2008
Replies: 2
Views: 1,623
Posted By yilmazhuseyin
Yes that is a good way to do it. but when you do that you could use StringTokenizer (http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html) class. it seperates a string to tokens. just...
Forum: Java Jun 20th, 2008
Replies: 10
Views: 8,862
Posted By yilmazhuseyin
OK First of all you have to find out what scanner class does. I suggest you check java specifications. best place you check is java specifications (http://java.sun.com/javase/6/docs/api/index.html)....
Showing results 1 to 14 of 14

 


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

©2003 - 2009 DaniWeb® LLC