Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
java x 40
Member Avatar for enterpise

**Hello **first of all, I'm not native english speaker so Is there anything wrong about my writting Please forgive me. Here is my plan, I want to do the project about GPS tracking the transportation in my uniservity.I will make an iPhone application that will track the bus on real …

0
83
Member Avatar for enterpise

I'm not sure. This the right way to calculate percentage ? Here's my method public class percent extends Operation { @Override public Value calculate(Value key, Value value) { //BigDecimal result = key.getValue().divide(Value.hundred, Value.SCALE, BigDecimal.ROUND_UP); return new Value((key.getValue().divide(value.getValue()).multiply(Value.hundred))); // return new Value(result); } @Override public String getSymbol() { return "%"; } …

Member Avatar for enterpise
0
103
Member Avatar for enterpise

I have implement the chat sever.When I start to type the message to the server It says"Server has close the connection: java.io.EOFException" I don't what went wrong with my code. Can you plz have a look at it or give me some advice. [CODE]public class threadMiddle extends Thread { public …

Member Avatar for enterpise
0
180
Member Avatar for enterpise

now I try to develop the tcp chat server So what I have done so far -my server can only received string from the client -My server can show the total of the connection So what I want to ask what do I need to do to make the server …

Member Avatar for NormR1
0
164
Member Avatar for enterpise

now i'm writing a method which is checking the ip already exist or not [CODE]private boolean EXISTIP(String s) { boolean result = true; try{ for (int i = 0; i < Client_list.length; i++) { if (Client_list[i][0].equals(s)) { return true; } else { result = false; } } }catch(Exception e){ return …

Member Avatar for stultuske
0
122
Member Avatar for enterpise

Every time when i try to catch exception on the rage of my port Also the Message input box ( can't enter the negative number ) The program seems like doesn't response for my action but when i disable all the code below it will work fine Here is code[CODE]private …

Member Avatar for enterpise
0
180
Member Avatar for enterpise

[CODE]package test; import java.util.*; import sun.security.krb5.internal.UDPClient; import java.net.*; public class CMD { public static void main(String[] args) throws UnknownHostException, SocketException { DatagramSocket sock = new DatagramSocket (); Scanner keyboard = new Scanner(System.in); String fisrtarg=null; // System.out.println("Enter CMD"); // fisrtarg = keyboard.nextLine(); if (args.length > 0) {//this is important if no …

Member Avatar for enterpise
0
199
Member Avatar for enterpise

i have programming assignment which is to make UDP and TCP client now i already finished UDP ,TCP client and GUI now i want to make the command line class So the assignment tell me that "CLIENT: The client should read input from the command line: • -x <number>, where …

Member Avatar for enterpise
0
199
Member Avatar for enterpise

now i'm try to make the delete and successor method for BST in java[CODE]public void delete(BinarySearchTree<V> pointer) { // 1. The node is a leaf. // 2. The node has no left child. // 3. The node has no right child. // 4. The node has two children. BinarySearchTree<V> current …

Member Avatar for enterpise
0
155
Member Avatar for enterpise

Actually i try to create a method which can call the scanner keyboard firstly i was trying this void makeRequest(){ request ="Hello"; } So i wanna make like when i call this method it will tell me to input the String by scanning the keyboard is it possible to do …

Member Avatar for enterpise
0
141
Member Avatar for enterpise

i'm a beginner for coding at java . net now i got a problem with input the port plz see the code [CODE]package test; import java.net.*; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; public class UDPCliet { final int buffSize = 10001;//buff size final int TIMEOUT = 3000; final …

Member Avatar for enterpise
0
173
Member Avatar for enterpise

i'm a beginner in coding and i try to write a parking lot program. There are 3 classes in my program. Could anyone help me out ,I got stuck in the record class which is datetime in and out and how to set overtime price. ****sorry about my bad english. …

0
42