wood burning stoves 2.0*
The moose likes Java in General and the fly likes query regarding  displaying usercontent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "query regarding  displaying usercontent" Watch "query regarding  displaying usercontent" New topic
Author

query regarding displaying usercontent

chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
I want know is there any way to do like this
Without using the System.out.println() statement and without import any packages and static blocks how to display the user content


Thanks In Advance.


---------------------<br />SCJP(1.4)With 95%<br /> <br />Do it Right and Forget it!
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9048
    
  10
Can you be a little more specific what kind of user content you are trying to display and where you want to display it?
[ August 04, 2005: Message edited by: Marilyn de Queiroz ]

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Originally posted by Marilyn de Queiroz:
Can you be a little more specific what kind of user content you are trying to display and where you want to display it?

[ August 04, 2005: Message edited by: Marilyn de Queiroz ]


Thanks for reply.

But in this case i'm want display content like "Hello world".

But i dont want to use any of those import statements or static blocks.

For that is there any specific way.if exist please give me the Hint.

Thanks In Advance
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Is this a puzzle, a mock exam question, or what?


[Jess in Action][AskingGoodQuestions]
Manuel Moons
Ranch Hand

Joined: Mar 05, 2002
Posts: 229
This post must be a big joke right?

Anyway, I'd like to play along. Voila, showing "Hello World!" without imports or static initialiser blocks.

Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Actually even this follows the rules, strictly, doesn't it!



Oooh, oooh, here's another one!

Manuel Moons
Ranch Hand

Joined: Mar 05, 2002
Posts: 229
Ah yes,

Ernest, you are absolutely correct. I'm still wondering though what he really means.
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Thanks for reply.


Thanks Once Again.
 
 
subject: query regarding displaying usercontent