Page 2 of 2 FirstFirst 12
Results 21 to 36 of 36
  1. #21
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Smile

    Oh if a class i know..
    That coding above is class board, but i dont know where is attribute and methods if i want to make an Class Diagram in UML?

    Thanks. :)

  2. #22
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Okay, so you can find the class. It's better you can read more about the classes in Java mean while.

    Basic definition for a method is as follows.

    access_modifier return_type method_name(parameter_list) {
    // body of the method
    }

    Did you know the meaning of those?

  3. #23
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Default

    Sorry, i don't know what's that?
    Hmm, maybe Eranga can help me to find, where is an attribut and method from that coding, because i want to implement in Class Diagram..
    Thanks Eranga.. ;)

  4. #24
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,805
    Rep Power
    19

    Default

    This isn't some sort of project is it?

  5. #25
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Kenshei View Post
    Sorry, i don't know what's that?
    Hmm, maybe Eranga can help me to find, where is an attribut and method from that coding, because i want to implement in Class Diagram..
    Thanks Eranga.. ;)
    Kenshei, I really like to help you. But if you don't know those fundamentals it's really difficult to design the class diagram. I hope you should study the basis in Java.

    By the way, what are the languages you know...

  6. #26
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Default

    Oh yes, now i know that you mean with "access_modifier return_type method_name(parameter_list) {
    // body of the method
    } .."

    Ehm, maybe you right, i think i must learn the basis in Java first.
    Thanks Eranga.. :)
    Last edited by Kenshei; 01-16-2010 at 01:15 PM.

  7. #27
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Default

    Ehm, sory i want to ask again..
    can you help me to find basic from the attribute?
    Thanks. :)

  8. #28
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  9. #29
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Smile

    Ehmm... i dont know exactly the name..
    In class diagram it has 3 column, 1. name class, 3. methods and i want to ask you is the number 2..
    How can I know whether it's attribute?
    whether the attribute is located behind like int, strings, etc..??
    Thanks Eranga .. :)

  10. #30
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Yes, in related to the class diagram you can see three parts. The upper cage contain the class name, the next below on contain the attributes. And the lowest one contain the methods of the class. Actually based on the implementation you have to define visibility levels. So call access level.

  11. #31
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Smile

    Somebody help me, i want to make a game with J2SE..
    Could you help me what is coding for make a game paused and start it again?
    And How to show short clip movie?
    Thanks. :-)
    Last edited by Kenshei; 01-28-2010 at 11:38 AM. Reason: i've done with previous question.

  12. #32
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Kenshei View Post
    Somebody help me, i want to make a game with J2SE..
    Could you help me what is coding for make a game paused and start it again?
    And How to show short clip movie?
    Thanks. :-)
    You've to learn a lot. You must study the basis in Java. How long you are using Java?

  13. #33
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Lightbulb

    I was new in Java Eranga. Hmm, maybe you can help me, do you have an e-book or like it for basic Java?
    Thanks Eranga. :)

  14. #34
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,805
    Rep Power
    19

    Default

    I always suggest starting with the Sun tutorials.
    They have trails for most things, including Getting Started.
    You'll want to work through the list of trails covering the basics, which is near the top of that first link.

  15. #35
    Kenshei is offline Member
    Join Date
    Dec 2009
    Location
    Indonesia
    Posts
    21
    Rep Power
    0

    Default

    Thanks Tolls.. :)

  16. #36
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Kenshei View Post
    I was new in Java Eranga. Hmm, maybe you can help me, do you have an e-book or like it for basic Java?
    Thanks Eranga. :)
    Yes, Suns' official web site is the most suitable for beginners in Java. And SAMS publications. There are lots of others too lol. But the Suns' official website is the best.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •