ianian112's Profile User Rating: -----

Reputation: 119 Stalwart
Group:
Contributors
Active Posts:
379 (0.2 per day)
Joined:
28-November 09
Profile Views:
2,887
Last Active:
User is offline Feb 06 2013 08:21 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Opera
Favorite Processor:
AMD
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
50

Latest Visitors

Icon   ianian112 has not set their status

Posts I've Made

  1. In Topic: How to format a double output

    Posted 3 Feb 2013

    System.out.printf("%." + placesnum + "f", num);
    
  2. In Topic: For Loop never stops

    Posted 31 Jan 2013

    Thats because you have your for loop inside of your
    while(userSelection != QUIT)
    
    loop, which will never terminate because you never ask for userSelection again.
  3. In Topic: Not getting the suitable output!

    Posted 26 Jan 2013

    in your add method put brackets around your if statments right now it looks like this
    if(numEntries == MAX_ENTRIES){
       if(newScore <= entries[numEntries - 1].getScore()){
          return;
       }else {
          ... add stuff
       }
    }
    
    

    you want
     
    if(numEntries == MAX_ENTRIES){
       if(newScore <= entries[numEntries - 1].getScore()){
          return;
       }
    }else {
       ... add stuff
    }
    
    
  4. In Topic: UnsortedList$Link cannot be cast to java.lang.String error help

    Posted 26 Jan 2013

    The issue is with your return statement. You try to cast Link<E> to type <E>. Im guessing your List contains strings hence the classcastexception Link<E> to string. Just fix your return statement to return a string.
  5. In Topic: Hibernate unidirectional association

    Posted 24 Jan 2013

    Can you post your Person & Address class? I'm guessing Person would have a field for address in it, which would allow you to use Restrictions.eq, or Restrictions.in to query for people using an address object

My Information

Member Title:
D.I.C Regular
Age:
22 years old
Birthday:
April 12, 1992
Gender:
Location:
San Luis
Years Programming:
1
Programming Languages:
Java

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Friends

ianian112 hasn't added any friends yet.

Comments

Page 1 of 1
  1. Photo

    ryanknighton Icon

    26 Nov 2010 - 16:44
    I have no idea where to start or how to do the guessing game. Thanks for the help though.
Page 1 of 1