jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes hello Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic


Ravindar Reddy

Joined: Feb 02, 2006
Posts: 1
class hai
public static void main(String[] args)
//int i = 1;
for(int i =1;i<3;i++)
System.out.println("Hello World!");


without initializing i globally or normally,i had to get o/p bcz i initialized in loop itself using that we can do it

Thanx u in advance
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2398
I don't understand the question.
arjun krishna

Joined: Mar 02, 2006
Posts: 7
I dont understant the your goal.tricky ?
pls make it clear about your queation.
marc weber

Joined: Aug 31, 2004
Posts: 11343

This looks curiously similar to this thread. :roll:

"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
I agree. Here's the link: http://aspose.com/file-tools
subject: hello
jQuery in Action, 3rd edition