Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Output from outer/inner class code?

 
srikanth reddy
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Compile-time errors are generated at which lines?

a. 1
b. 2
c. 3
d. 4
e. 5
f. 6
g. 7
h. 8
i. 9
j. 10



my doubt is
1) where can we use the static intialiser ??
2)in the above inner classes the instance variables are not intialised ??can anyone explain this???


thanks & regards
srikanth ..

[ September 06, 2005: Message edited by: Mark Spritzler ]
[ September 06, 2005: Message edited by: Michael Ernest ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a "CODE" tag, that can be created by clicking the CODE button,
which is located under the "Add Reply" button, along with URL, BOLD, etc. buttons

This tag will enable you to keep your formatting for your code, like indentation, and makes your code readable.
The way your code is posted makes it difficult to read, and therefore, more difficult for us to help you.

Thanks

Mark
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does o/p stand for in this context?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also "plz"?
 
Steve Morrow
Ranch Hand
Posts: 657
Clojure Spring VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Marcus Green:
What does o/p stand for in this context?


"Output", I believe, but it's only a guess...

http://faq.javaranch.com/view?UseRealWords
 
srikanth reddy
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry steve i meant output ....

sorry for the inconvenience caused......

srikanth
 
Shrikant Pandhare
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When ever i copy paste the code in textpad.. it get pasted in one line..
And i have to format it always to make it readable and understandable.
Why does this happen
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shrikant Pandhare:
When ever i copy paste the code in textpad.. it get pasted in one line..
And i have to format it always to make it readable and understandable.
Why does this happen


I just cut and pasted the above code into the TextPad editor - worked perfectly, and no (re)formatting required.
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

When ever i copy paste the code in textpad.. it get pasted in one line..
And i have to format it always to make it readable and understandable.


In some IDE like Edit Plus... it will be in one line
one way to this problem is if u have word copy to there,then copy it to ur IDE
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic