This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What is wrong? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is wrong?" Watch "What is wrong?" New topic

What is wrong?

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

System.out.println(x.length);//nO PRINT OUT HERE

Nothing is printed out? Is the method getting called? I notice you call it inside a loop that depends on a conditional statement. My guess is that conditiona is always false.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
I don't think so.
Please advise me to check
my passing argument is ok or not?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: What is wrong?
It's not a secret anymore!