File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Output from outer/inner class code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Output from outer/inner class code?" Watch "Output from outer/inner class code?" New topic
Author

Output from outer/inner class code?

srikanth reddy
Ranch Hand

Joined: Jul 28, 2005
Posts: 252


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 ]

Thanks & Regards<br /> <br />-Srikanth
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
What does o/p stand for in this context?


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Also "plz"?


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

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

Joined: Jul 28, 2005
Posts: 252
sorry steve i meant output ....

sorry for the inconvenience caused......

srikanth
Shrikant Pandhare
Greenhorn

Joined: Jul 29, 2005
Posts: 15
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

Joined: Aug 03, 2002
Posts: 7729
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

Joined: Mar 02, 2005
Posts: 580

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Output from outer/inner class code?