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
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

10 Posted Topics

Member Avatar for sapure

In this example, what's the difference between creating a class variable from the "class Employee" & creating an object from the class GenQueue ?! What's the difference in uses and implementation? import java.util.LinkedList; class GenQueue { private LinkedList list = new LinkedList(); public void enqueue(E item) { list.addLast(item); } public …

Member Avatar for riahc3
0
247
Member Avatar for sapure

I've been studying C++ for two years, then started Java two months ago. My performance in C++ wasn't good at all although I study hard. I thought that the problem is in not understanding the language concepts but when I started a new language with the intention of building up …

Member Avatar for sapure
0
189
Member Avatar for sapure

Please, I'd like to know the difference and the special uses for each one. If I want to use it for text file compression whose algorithm is as follows, which one is more efficient? Encoding Algorithm 1. Initialize the dictionary to contain all blocks of length one (D={a,b}). 2. Search …

Member Avatar for sapure
0
133
Member Avatar for John A

Thanks both of you VERY MUCH. You really made me change the way I think of programming. I've been struggling and suffering for 3 years in my college studies, thinking I'm dumb although I do love programming but didn't understand how to think about a solution when given a problem! …

Member Avatar for sapure
0
405
Member Avatar for sapure

Boolean eminem = new Boolean("yes"); What does it mean & what does it create? Thanks.

Member Avatar for sapure
0
258
Member Avatar for sapure

When choosing the input file, I tried three ways & all of them generated errors ! I created the file.txt in the project's folder. I'm using Netbeans IDE. 1) Passing java ShowFile Input.text as a command-line argument [properties ---> run ---> wrote this command-line in the 'Argument' box] 2) Using …

Member Avatar for stultuske
0
224
Member Avatar for sapure

public class BufferedReader { public static void main(String[] args) throws IOException { char c; BufferedReader sen = new BufferedReader (new InputStreamReader(System.in)); **// ERROR** System.out.println("Enter characters, 'q' to quit"); // read characters from the console while(c != 'q') { c = (char) sen.read(); **// ERROR** System.out.print(c); } } } I don't …

Member Avatar for NormR1
0
209
Member Avatar for sapure

I admit it's a part of an assignment but I don't understand what the assignment require in this part. This program is supposed to read 10 numbers from the keyboard and then the application findMax will take one single command line argument. If you invoke findMax 1, it will print …

Member Avatar for sapure
0
334
Member Avatar for Dev.Waleed

I'm a beginner too, but this is the source that my professer recommended.... A very useful Java reference http://docs.oracle.com/javase/6/docs/api/ What's SWING ?! http://docs.oracle.com/javase/tutorial/ui/overview/intro.html

Member Avatar for stultuske
0
251
Member Avatar for Abdel_eid

Check this out too, it's VERY useful and friendly with (tutorials, delatiled explanation, quizzes...) http://www.w3schools.com/sql/sql_intro.asp

Member Avatar for sapure
0
144

The End.