Dankwansere's Profile User Rating: -----

Reputation: 68 Whiz
Active Members
Active Posts:
205 (0.11 per day)
09-November 09
Profile Views:
Last Active:
User is offline Today, 08:51 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:

Latest Visitors

Icon   Dankwansere has not set their status

Posts I've Made

  1. In Topic: I'm getting this error code

    Posted 7 Sep 2014

    The setradius(double radi) method requires an argument of "double" type. so you have to have a an argument when you're calling that setradius method. for example circle1 = inputCircle.setradius(22.4);
  2. In Topic: Number Guessing Program

    Posted 6 Sep 2014

    I agree with macosxnerd101, you could easily read the input as strings and then use the strings equal method to do the comparison. But if you insist on using your logic, you can easily debug it by initializing the lottery variable yourself. Say give it a number of 987. Then when you run the program input the same number and see if the logic runs correctly. So far I tried it 987 = 987 and received the correct output. also tried 987 = 985 and received the correct output which was - Match one digit: You win $1,000
  3. In Topic: Logic Error

    Posted 5 Sep 2014

    Once the close button is clicked, the method where you run the sql queries should have an "UPDATE" statement to update the records in the table. You can do the logic in the front end(Java) then use an SQL "UPDATE" statement to update the records in the database

    Update Statement
  4. In Topic: Logic Error

    Posted 5 Sep 2014

    How are you calling the database? Show the code. This could be an opening and closing database issue. You could add a logic in the backend(database) or front end(java) that will retrieve the value in the database and update it accordingly
  5. In Topic: what is the use of import?

    Posted 26 Aug 2014

    You declare an import statement in java to allow you to reference classes which are in other packages without referring them by their full package name. for example, lets say you have a class called rectangle in a package called com.DIC.shapes now lets say you have another class called cars in a package called com.DIC.vehicles if you want to be able to reference the rectangle class from com.DIC.shapes then you would have to add an import statement in your cars class at the top of the code. something like this

    import com.DIC.shapes.rectangle

    Once you have that statement in your class you will be able to reference your rectangle class (which is in another package) in your car class. you would be able to create objects of rectangle types, use methods in the rectangle class etc etc.

    if you had not use an import statment, then the only to be able to reference the rectangle class in your car class would be to use its full qualified name each time in your code. like this com.DIC.shapes.Rectangle

My Information

Member Title:
D.I.C Head
Age Unknown
Birthday Unknown
Years Programming:
Programming Languages:
Java, C#, C, Unix, HTML, Xhtml, PHP

Contact Information

Click here to e-mail me



Dankwansere has no profile comments yet. Why not say hello?