Java classes comments

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

    #16
    Originally posted by analoveu
    What do you mean by the Embedded keywords or literals ???
    apublics is allowed as an identifier even though it embeds the keyword public and test1 is also allowed as a keyword even though it has the literal 1 in it.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #17
      Inheritance class is finally up. Just keep the comments, questions, analysis and criticisms coming here in this thread.

      Comment

      • hirak1984
        Contributor
        • Jan 2007
        • 316

        #18
        Well fine to see this new discussions on java classes.Really awaiting when it will come upto collection frameworks,stru ts etc.Or did you already covered the topics?
        Originally posted by r035198x
        Inheritance class is finally up. Just keep the comments, questions, analysis and criticisms coming here in this thread.

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #19
          Originally posted by hirak1984
          Well fine to see this new discussions on java classes.Really awaiting when it will come upto collection frameworks,stru ts etc.Or did you already covered the topics?
          Not yet. Just those topics in those classes have been covered so far. Struts tutorial wasn't part of the plan but I might include it in the J2EE tutorials that I'm thinking of starting as well.

          Comment

          • hirak1984
            Contributor
            • Jan 2007
            • 316

            #20
            That will be so nice of you,and verrrry helpful for people like me.
            Originally posted by r035198x
            Not yet. Just those topics in those classes have been covered so far. Struts tutorial wasn't part of the plan but I might include it in the J2EE tutorials that I'm thinking of starting as well.

            Comment

            • abctech
              New Member
              • Dec 2006
              • 157

              #21
              Please do start J2EE tutorials too side by side with the ongoing Java tutorials if you get time r0, can't wait to read them !!!

              Comment

              • kirankrishnan
                New Member
                • Feb 2007
                • 3

                #22
                java classes are pureley object oriented...All help to better application development than aany other languages

                Comment

                • r035198x
                  MVP
                  • Sep 2006
                  • 13225

                  #23
                  Originally posted by kirankrishnan
                  java classes are pureley object oriented...All help to better application development than aany other languages
                  Not really. Just having a class in your program does not mean that your code is object oriented. That is why Java is not purely object-oriented because you can write code that is not object oreinted with it.

                  Comment

                  • abctech
                    New Member
                    • Dec 2006
                    • 157

                    #24
                    Originally posted by kirankrishnan
                    java classes are pureley object oriented...All help to better application development than aany other languages
                    Java isn't purely an OO language because it has basic(primitive ) types that are not objects,.. a trade off of purity for practicality.

                    Comment

                    • r035198x
                      MVP
                      • Sep 2006
                      • 13225

                      #25
                      Originally posted by abctech
                      Java isn't purely an OO language because it has basic(primitive ) types that are not objects,.. a trade off of purity for practicality.
                      True.

                      If you have a language in which evrything is an object, the language would become purely Object-Based not Object-Oriented.

                      Comment

                      • abctech
                        New Member
                        • Dec 2006
                        • 157

                        #26
                        Originally posted by r035198x
                        True.

                        If you have a language in which evrything is an object, the language would become purely Object-Based not Object-Oriented.
                        I am a bit confused between purely Object-Based and purely OO languages. Can you elaborate please?

                        Is VB an Object Based language? Do we have any example of a purely OO language?

                        Comment

                        • r035198x
                          MVP
                          • Sep 2006
                          • 13225

                          #27
                          Originally posted by abctech
                          I am a bit confused between purely Object-Based and purely OO languages. Can you elaborate please?

                          Is VB an Object Based language? Do we have any example of a purely OO language?
                          A purely object oriented laguage would not only support object oriented design. It would have to have some level of enforcing object oriented design concepts. I don't know whether VB is object based or not but if everything is an object then the language is object based. Smalltalk is an example of a purely object-oriented language.
                          Here is an article talking about these things.

                          Comment

                          • abctech
                            New Member
                            • Dec 2006
                            • 157

                            #28
                            Originally posted by r035198x
                            A purely object oriented laguage would not only support object oriented design. It would have to have some level of enforcing object oriented design concepts. I don't know whether VB is object based or not but if everything is an object then the language is object based. Smalltalk is an example of a purely object-oriented language.
                            Here is an article talking about these things.
                            Thanks for the link r035198x. Here's another link I just came across related to this.

                            Comment

                            • shy001
                              New Member
                              • Feb 2007
                              • 1

                              #29
                              Originally posted by r035198x
                              Post comments and questions on the java classes in this thread.
                              hi i need help with something
                              i have
                              public class Name implements NameInterface
                              {
                              ......
                              }
                              getting this error

                              C:\Program Files\Xinox Software\JCreat or\MyProjects\T est1\Name.java: 1: Name should be declared abstract; it does not define setName(java.la ng.String,java. lang.String) in Name
                              class Name implements Comparable, NameInterface
                              ^
                              1 error
                              Process completed.

                              Comment

                              • r035198x
                                MVP
                                • Sep 2006
                                • 13225

                                #30
                                Originally posted by shy001
                                hi i need help with something
                                i have
                                public class Name implements NameInterface
                                {
                                ......
                                }
                                getting this error

                                C:\Program Files\Xinox Software\JCreat or\MyProjects\T est1\Name.java: 1: Name should be declared abstract; it does not define setName(java.la ng.String,java. lang.String) in Name
                                class Name implements Comparable, NameInterface
                                ^
                                1 error
                                Process completed.
                                Start a new thread for this. This thread is reserved for comments to Free Java Classes thread only.

                                Comment

                                Working...