Java classes comments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r035198x
    MVP
    • Sep 2006
    • 13225

    Java classes comments

    Post comments and questions on the java classes in this thread.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    You'd better make this thread a sticky or it will slowly, but surely, sink out of sight.

    Ronald :cool:

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by ronverdonk
      You'd better make this thread a sticky or it will slowly, but surely, sink out of sight.

      Ronald :cool:

      I thought of that but then the number of stickies was getting on my nerves. I've provided links in the classes that link to this thread though.

      Comment

      • carly
        New Member
        • Oct 2006
        • 37

        #4
        Cant wait for the next class :D ........ really like the way your explaining things!!

        Thanks!!

        Carly ;)

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by carly
          Cant wait for the next class :D ........ really like the way your explaining things!!

          Thanks!!

          Carly ;)
          Thanks for the comments. I'll try to get the next class up tommorrow.

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            Got delayed by having to format my computer. Expect next class in a couple of hours.

            Comment

            • r035198x
              MVP
              • Sep 2006
              • 13225

              #7
              Third class is finally up

              Comment

              • Ganon11
                Recognized Expert Specialist
                • Oct 2006
                • 3651

                #8
                Ooh, in two posts!

                It all looks good, r0 - I'll take a closer look during my free period today. Keep up the good work.

                Also, what parts of the String class are you planning on going over?

                Comment

                • r035198x
                  MVP
                  • Sep 2006
                  • 13225

                  #9
                  Originally posted by Ganon11
                  Ooh, in two posts!

                  It all looks good, r0 - I'll take a closer look during my free period today. Keep up the good work.

                  Also, what parts of the String class are you planning on going over?
                  In the classes I will be going over some of the most commonly used Java classes like String, ArrayList etc. The next examples I'll use will include Strings so I'll introduce how to use that class first and also look at some differences between == and .equals when comparing Strings plus a look at some of its commonly used methods. Just the basics to get one started in using Strings.

                  Thanks for the comments.

                  Comment

                  • r035198x
                    MVP
                    • Sep 2006
                    • 13225

                    #10
                    Guys I realize that the next class is running very late. I promise to get it up by the end of this week.

                    Comment

                    • analoveu
                      New Member
                      • Jan 2007
                      • 36

                      #11
                      I know that JRE and JDK are products delivered under the java platform and JRE provides the libraries,JVM, and ather components necessary for running Application. JDK includes the JRE plus command-line development tools such as compilers and debugger.

                      But I have some questions and confusions,
                      1-What is the command-line?
                      2-what is the difference between JVM's Role and command-line's Role?
                      3-the debugger is the interpreter or java that launch the application and the interpreter is the JVM???So the debugger is the interpreter or the JVM?

                      Comment

                      • analoveu
                        New Member
                        • Jan 2007
                        • 36

                        #12
                        I don't understand why does not the following code compile ?

                        Code:
                        byte a = 12;
                        a = a + 1;

                        Comment

                        • analoveu
                          New Member
                          • Jan 2007
                          • 36

                          #13
                          What do you mean by the Embedded keywords or literals ???

                          Comment

                          • r035198x
                            MVP
                            • Sep 2006
                            • 13225

                            #14
                            Originally posted by analoveu
                            I know that JRE and JDK are products delivered under the java platform and JRE provides the libraries,JVM, and ather components necessary for running Application. JDK includes the JRE plus command-line development tools such as compilers and debugger.

                            But I have some questions and confusions,
                            1-What is the command-line?
                            2-what is the difference between JVM's Role and command-line's Role?
                            3-the debugger is the interpreter or java that launch the application and the interpreter is the JVM???So the debugger is the interpreter or the JVM?
                            Command line is just the prompt where you run your commands like MsDos prompt. It is not part of the j.d.k kit but is part of your OS. It's just an interface for running your programs.

                            Comment

                            • r035198x
                              MVP
                              • Sep 2006
                              • 13225

                              #15
                              Originally posted by analoveu
                              I don't understand why does not the following code compile ?

                              Code:
                              byte a = 12;
                              a = a + 1;
                              The + operator is not applicable to the primitive type byte. It works for numeric types starting from int upwards.
                              The ++ operator, however, performs an implicit type cast to int so

                              Code:
                               byte a = 12; 
                              a++;
                              will compile because a is converted to int first

                              Comment

                              Working...