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
~672 People Reached
Favorite Forums
Favorite Tags
java x 5
Member Avatar for dowen

why when i add private int yearpublished; my program has an error what is my mistake can you please help to fix it ------------------------------------------------------ this is the error that came out C:\goh>javac libmainsys.java libmainsys.java:19: ';' expected yearpublished = yrpub ^ libmainsys.java:28: cannot resolve symbol symbol : variable yearpublish location: class …

Member Avatar for masijade
0
363
Member Avatar for dowen

{6,12,4,7,9} How do i write a method name serachMax that receives the list above (as an array of integer) as it's argument and return the largest value in the list and How do i create a method name countitem that receives that list above (as a referenced based linked list …

Member Avatar for MacGyver Orca
0
106
Member Avatar for dowen

=================================== This is the binary search public static int binarySearch(int[] list, int listLength, int searchItem) { int first=0; int last = listLength - 1; int mid; boolean found = false; //Loop until found or end of list. while(first <= last &&!found) { //Find the middle. mid = (first + last) …

Member Avatar for iamthwee
0
107
Member Avatar for dowen

and when i add a new int data type my program has an error and yet when i add a new String data type it has no error // objectSort.java // demonstrates sorting objects (uses insertion sort) // to run this program: C>java libmainsys //////////////////////////////////////////////////////////////// [code] class libary { private …

Member Avatar for Phaelax
0
96