Originally posted by Faisal Pasha:
...Can a static nested class contain an inner class?
Can an inner class embed a static class in it?
Help appreciated! ...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Faisal Pasha:
...If we are allowed to call a class's static method from another class, why can't we call it's main() which is also static? ...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Faisal Pasha:
...I missed the args part of main()! ...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Faisal Pasha:
How can we see an Inner class' instance variable from Outer class's instance method? Please see the following partial code listing...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Faisal Pasha:
No replies yet?!!![]()
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Originally posted by Barry Gaunt:
Well I was sleeping at that time you posted. In fact I'm just going to roll out of bed and go to work. Sorry, absolutely no time for anything, but grabbing something to drink and a sandwich. Gotta go,...
I was born with webbed fish toes. This tiny ad is my only friend:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|