Search:

Type: Posts; User: srs

Page 1 of 2 1 2

Search: Search took 0.24 seconds.

  1. Replies
    11
    Views
    146

    Re: variables declaration and visibility

    I represent that this better defines the word 'static' in Java, and not the word 'global'
    This is true if and only if the access modifiers make it visible through the entire program, and not because...
  2. Replies
    11
    Views
    146

    Re: variables declaration and visibility

    There is often confusion about the terms 'global' and 'static' in relation to Java.
    First you need to understand the access modifiers used in Java and how they differ.
    Reading this page will reveal...
  3. Re: Where would I input this so I get user input dialog?

    What do you mean by "Where do I input this segment?"
    It looks like a variable and a method. Both of them go inside the class body like any other variable or method.
    When you want to see the popup...
  4. Replies
    2
    Views
    63

    Re: Multi-word Hangman Game

    Where in the code do you determine the number of _ _ _ _ to use?
    Somewhere around that point you would need to know the number of words and where to add a space.
  5. Replies
    2
    Views
    123

    Re: How to make Multiple JUnit reports

    Without the code it is hard to throw any great suggestion your way.
    Somehow the files get parsed/processed individually.... generate the report at that magical point where you have a handle on the...
  6. Replies
    1
    Views
    64

    Re: Java Programming terms

    You are not likely to get great feedback with a wide question like that. Drop those terms into your favorite search engine to get generalized answers. Post more specific questions here if you find...
  7. Re: Null Point Exception Error while calling a method

    There is a variable with a null value. The exception gives line numbers to show where the null value is. Find out which variable has a null value and look back to see why there is not a valid value
  8. Thread: Generics

    by srs
    Replies
    1
    Views
    55

    Re: Generics

    It is a warning because new Gen() does not specify the types. The reason it is a warning rather than error is because the type is inferred in Gen<Integer,Integer>. If you do not want the warning you...
  9. Re: Java project - 'edit .txt file' + 'event IDs'

    I suggest "not" for the same reason people on this forum are "not" going to do it for you. For the very reason given in my previous post.
  10. Re: Abstract classes game development - Lists and repeating code?

    You can make such a thing... ArrayList<SomeAbstractClass> = new ArrayList<SomeAbstractClass>();
    Being abstract gives you a generalized handle on the collection of things which are of type...
  11. Re: Java project - 'edit .txt file' + 'event IDs'

    Hi maxis and welcome to the forum.
    This forum is more of a place for people to get a helpful nudge in the right direction than one where homework solutions are posted and explained. The reason for...
  12. Re: Which book is best for beginner, intermediate, advance learner to learn java laungauge

    Please do not post the same thing in multiple places. Do a search on the forum, this question has likely been asked before
  13. Re: Which book is best for beginner, intermediate, advance learner to learn java laungauge

    Duplicate post
  14. Replies
    2
    Views
    255

    Re: Homework == Completely confused.

    Take it one step at a time. The instructions include several methods. One method is as simple as the well known "Hello World" program, simply displaying text. One other method is simply a matter of...
  15. Replies
    9
    Views
    119

    Re: Help MouseRace Program

    Did you search for Java Arrays?

    So with a closer scan over your instructions I find this:
    Inside this class you will have instance data declarations (i.e. object variables) that correspond to...
  16. Replies
    9
    Views
    119

    Re: Help MouseRace Program

    The instructions say you have a 12x12 grid but I did not see any specifics about how you are to implement the grid, so a 2D array should be okay I would think.
    It looks like moving the % symbol...
  17. Replies
    9
    Views
    119

    Re: Help MouseRace Program

    Thanks for posting the assignment instructions, that can save many questions..
    I do not see any update on your question... What are you stuck on?
    Do you need help getting user input? If so, what do...
  18. Replies
    9
    Views
    119

    Re: Help MouseRace Program

    Can you post the stuff on the forum rather than attach it?
    What do you mean by "and then navigate it"... If you "print it out" it seems more like something to be done with a pencil... I do not...
  19. Re: How do I use this method to store data from a file into an array of type Product[]?

    public static Product[] gives details about the method, in this case the method in question is named readProductDataFile, and the method takes a File object as a parameter.
    See the File class for...
  20. Replies
    1
    Views
    55

    Re: Executor framework simple example

    31 people have clicked on your post and decided not to type anything because there is no real question to answer.
    You may be amazed to see the wonderful information available if you actually put...
  21. Re: How to handle classes interacting with each other in the best way possible?

    You are welcome
  22. Thread: program help

    by srs
    Replies
    0
    Views
    153

    Re: program help

    If you are looking to hire someone to complete a project for you, there is a section on the forum for that, say so and the thread can be moved there, otherwise see below:
    No, this is a help forum...
  23. Replies
    5
    Views
    242

    [SOLVED] Re: Find all sequential subsets of a set

    Coming up with the plan is the practice everyone needs, we hate to rob someone of the opportunity whether it is for homework, work, or personal development.
    If you do not have an algorithm to...
  24. Replies
    4
    Views
    163

    Re: Multiple apps within one app

    See: Android Intent
    You can create custom Intents to serve specifics to your application or use existing Intents (Common things like the contacts can just be used rather than reinventing the wheel...
  25. Re: How to handle classes interacting with each other in the best way possible?

    A player's position seems like a property of a player, while the bounds of a map seems like a property of a map, and interacting with those two objects through a third class would be one way to do...
Results 1 to 25 of 42
Page 1 of 2 1 2