Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for nickliutw

I'm currently writing a program that can track each word appear in a paragraph. For example, if a paragraph is "I have two dogs and two cats......" my program output should be: 'I'appeared 1 time, 'have' appeared 1 time, 'two' appear 2 times ....so on So far, I have two …

Member Avatar for iamthwee
0
153
Member Avatar for nickliutw

I working on a project that contain a list inside the hashtable and list would automatic create depends on the key. For instance, Hashtable hastable = new Hashtable() //I want my hashtable look like this: //hashtable contain(key, value); //my value would a list //if my key is "A" then it …

Member Avatar for Momerath
0
132
Member Avatar for nickliutw

I'm working on a project that can recursively print out the items from a single link list. The project also require the reverse method should accept a reference to a generic single-linked list. This is my logic for printing the item in reverse: if the element in a node is …

Member Avatar for nickliutw
0
206
Member Avatar for nickliutw

I'm working on a Palindrome program. For some reason, my compare method always return zero. "c" should suppose to increment 1 when both letter are the same, but my method would not increment 1 when the letter are the same for some reason. I'm not sure where is the problem. …

Member Avatar for nickliutw
0
161
Member Avatar for nickliutw

I'm creating a program which has data in the linklist. I'm trying to print out the element in the linklist from head to tail and tail to end, but for some reason, I run into some compiler error. I don't know why it won't let me call the hasPrevious and …

Member Avatar for dantinkakkar
0
150
Member Avatar for nickliutw

I'm creating a program by using the generic array that allow user to define the capacity or use the default capacity. I'm running some problems with casting and methods is not exist errors when I tried to store the data into array. Here is my constructor and methods class: [CODE] …

Member Avatar for stultuske
0
101
Member Avatar for nickliutw

I'm writing a program that compare two objects'distance. I already implements the comparable class to my distance. I also override the compareTo() method. So far it does not give me a compiler error, but I have a logic error. I have been try to search where my error occur, but …

Member Avatar for nickliutw
0
5K
Member Avatar for nickliutw

I'm running a problem with install the junit to the computer. I already download the junit to my computer. But how do I install it? I try to google it, but I don't understand their instructions. I remember in the class, my teacher do a lot of copy and paste …

Member Avatar for nickliutw
0
84
Member Avatar for nickliutw

I'm currently working on a program which is pig Latin. It allows a user enter a sentence. The program would take the user input and change every word in to pig latin which it takes the first character of a word and add it to end of word with "ay". …

Member Avatar for nickliutw
0
178
Member Avatar for nickliutw

I'm running to compiler error while I'm trying to use Enum to create a program that display a deck of cards. The compiler mistake is "Cannot find symbol", but I did call the constructor and use method call to call the method in card class. It still give me compiler …

Member Avatar for ~s.o.s~
0
204
Member Avatar for nickliutw

I'm programming a program that add feet and inch together(assume feet and inch are integer). I run into a compiler error. I know the problem is I'm missing the returning statement. But I don't know what to return. [CODE]public class Distance { private int feet; private int inch; public Distance() …

Member Avatar for hfx642
0
121
Member Avatar for nickliutw

I'm creating a program that perform store data and retrieve data from the arraylist. I have no clue make the program find the data in Arraylist and display the data that user is looking for. If data is not in the list, the program would print the line say that …

Member Avatar for NormR1
0
589
Member Avatar for nickliutw

I don't know where did I do wrong here, but it is a compiler error. I was try to create an Arraylist that can store the double value. For some reason, I got a compiler error when I try to create an Arraylist. By the way, the assignment specifically ask …

Member Avatar for nickliutw
0
198
Member Avatar for nickliutw

I have been working a program that allow the user to perform the following task, add student, display student, delete student, and find student. I need help with add student name, gpa..etc to the arraylist. But I keep getting either compiler messages or other error message. I have been trying …

Member Avatar for nickliutw
0
150
Member Avatar for nickliutw

I'm working on a manage friend list program which allow you to add friends, remove friend from list, and display friend list. I have not finish this program yet. But I keep getting compile error at line 42 which I'm trying to create a method allow user to enter name …

Member Avatar for nickliutw
0
226
Member Avatar for nickliutw

I'm writing a method for integer power which is something like this 2^4 read in program like 2*2*2*2 without using the math class method. I tried to use several different ways to write, but I think can't figure out where I did wrong. I know I'm close to what it …

Member Avatar for nickliutw
0
119
Member Avatar for nickliutw

I know this is probably seem to be very easy for you guys. I have been trying to figure this out for three hours. The requirement ask me to write a method determine whether an integer is even or not. If it is true, return true. If it is false, …

Member Avatar for nickliutw
0
134
Member Avatar for nickliutw

I'm practice to make a program that calculate total value of five products. I want the user can keep input the quantities of one of the five product without return the main menu. So I create a while loop to solve the problems. But the problem I have now, how …

Member Avatar for nickliutw
0
145
Member Avatar for nickliutw

I write a simple average program, but for some reason I keep getting compiler error. I tried to check my work, but still can't find where do I do wrong. It shows the message on average = total/10, and it says something like unable to reach statement. [CODE] //test import …

Member Avatar for nickliutw
0
99
Member Avatar for nickliutw

Here is the requirements: create a class include first name, last name, and monthly salary variables. Create a set and get method for each instance variable. What is the set method for(I read the book several times)? I don't quite get how to use it. How to create a set …

Member Avatar for peter_budo
0
135