Narasimha rao B.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
sahin sarkar wrote:I got most of what is being said here. But what I don't get is, what harm is there if we write this() or this(args) after the first statement.
writing super() as the first line is fine as child objects can't be created before parent class object. But what's with the this() issue. this() is also inside the same kind of constructor which is creating the object
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
sahin sarkar wrote:actually i started to learn java now and i didn't know about that record thing but i heard that this is a great place to put up doubts . and i also liked the approach of the people here.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Paul Clapham wrote:...So I found it annoying when Java didn't let me do that.
But lately it hasn't annoyed me as much. I must be getting used to it.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|