Home > Back-end >  On Java object
On Java object

Time:05-28

Recently, I found a problem, suddenly to a Java object of unfamiliar (or didn't understand), I know Java is the use of object-oriented programming, a basic object call I can read, but if a new object, an object called a second object and pay a variable, the variable is called the third object, again

1, I have seen some object behind calls for an object or method, such as continuous call methods:
UserDao. QueryUserById (1.) the equals (arg0). XXX () XXXX ()
Above that is also good, I know it's been a continuous call multiple method - chain calls,

2 (main), if the new out of several objects, the object of the object, the object, that object is five or six I started a little stupid, a bit not sure relationship between each object, why, why, one after another is called object (method),,,


I am a graduate student next year, if only to learn a little earlier, alas,,, now learn whether late
Post for the first time, have a solid understanding of bosses, please help us solve the very grateful!
(maybe my programming thought has not yet formed, only follow video learned Java foundation, just contact framework, don't know learning path right)
  • Related