When I typed this code out it would not even compile
Please ignore post, I have no idea what I am talking about.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
btw, I thought you were the guru Mike. UBB to you
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Originally posted by Jacob Michaels:
I thought that:
Test123 test1234 = new Test123();
creates a Test123 object called test1234
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
And a Constructor calling a method too, Whoo!
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Please ignore post, I have no idea what I am talking about.
I tell you, This program is just made for SCJP freaks! Wow!
Look there's a lovely i = i++!
And a Constructor calling a method too, Whoo!
Boy o boy...
And it catches an AssertionError, hey man...a gem.
What's wrong with calling a private method to verify state when you have multiple constructors?
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Don't get me started about those stupid light bulbs. |