thanks for the Reply Json basically i have to modify my arrayUtil so it generates random chars im not too sure how to do it :S
import java.util.Random;
public class ArrayUtilOne
{
public...
Type: Posts; User: JavaNoob82
thanks for the Reply Json basically i have to modify my arrayUtil so it generates random chars im not too sure how to do it :S
import java.util.Random;
public class ArrayUtilOne
{
public...
how would i convert numeric code to char? ive come stuck on a program and im not too sure how to change it over to char A-Z.. any help would be great
hi guys my aim is to generate a bubblesort, which is done no problem but one thing i cant figure out is generating how long it takes on each part of the array any input would be great!! thanks
...
many thanks for the reply helloworld i have ammended it but having one error cant quiet see where im going wrong.
import java.util.Scanner;
public class SumTester
{
public static void...
Im supposed to Write a recursive method that computes the sum of the first n strictly positive integers. Im new to recursion any help would be great. im getting errors at moment...
[/
mport...
Cheers for your input anywayz dude im guna hit the hay pretty soon will try again after my first lecture we got till 5 anywayz so hopefully i will have it sorted by then... will take on board what...
bad advice from another java programmer that i know lol
import java.util.Arrays;
import java.util.List;
public class PhoneBook
{
public PhoneBook(PhoneBookEntry directory)
{
class PhoneBookEntry implements Serializable
{
private String name;
private String number;
public PhoneBookEntry(String name, String number)
{
this.name = name;
...
fair do's fella. i dont think im the only one sorts struggling on this assignment. i know a few.. ive done task 1 no probz. hopefully get the next 2 programs out of the way by tomoz.. what program do...
import java.util.Arrays;
import java.util.List;
public class PhoneBook{
public class PhoneBook(PhoneBookEntry directory)
{
int numEntries = Math.max(directory.size(),...
u know what chris its that late in the day i cant think straight bud. ive ammended my code but no such luck. are you studying with steve in bangor dude?
import java.util.Arrays;
import...
hey chris cheers for the reply. have removed the < > still gettin the same error dude. havent had much joy with this program its due in tomoz too.. bummer lol
import java.util.Arrays;
import java.util.List;
public class PhoneBook(<PhoneBookEntry> directory){
{
int numEntries = Math.max(directory.size(), DEFAULT_SIZE);
...
i havent created it yet. so do u think when ive created tht program it will sort my other program out?
many thanks for the reply ive have been at my program for few hours now i have made progress but not without error messages would be grateful if you could help me
import java.util.ArrayList;...
hey guys im getting an error message with my code and was just wondering if you could help me out? its sayin <identifier> expected on
private ArrayList<DirectoryTest> entries = new...
hey helloworld922 many thanks for the reply. appreciate it.. i have defined it here is my sample. i have another program working off my entry class also. could it be possible to run 2 programs off...
Hey guys i was wondering whether anyone could help me out ive got to create a program that creates three directory entries and place them in an array of length 10. Once the entries have been placed...
cheers dude i have ammeded my program with your guidence thank you.. i need to set a counter also so that the person test prints out the number of person entered onto the screen so something like....
many thanks for your reply lewvan00. i see with your code that you kindly wrote to help me out, i dont see any access or mutator methods used. is there a way of accessing my person test by calling a...
hey guys and girls, just thought id say a big hello to you all, im new to java also and any help of anyone would be great to help me along the way.. i have posted up a thread already and any input...
hey guys the aim is to have 5 users to input data into their program and to output 5 people that have entered their details respectively. any hints would be great =)
my program needs =
a loop so...