Mark Petruszak

Greenhorn
+ Follow
since Jan 30, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mark Petruszak

Thank you Katrina and Marilyn for your responses. I don't program for a living so little things like this sometimes puzzle me. I did take a class in VB.Net at a local college and was taught to start the program from main and terminate the program from main. Any pre-application initialization and post application administration can be put in main as well.
17 years ago
So it's okay then if I have a program that takes me from one method to the next and so on, and I end up 32 methods away from 'main' when the program terminates?
17 years ago
Is it fair to say that when using functions, if you don't have to return a value, then don't return one?
17 years ago
Just a quick thank you and comment that information sometimes is useful years later. I used the following tonight in my assignment:

From Marilyn, 5/19/2001:

A null String doesn't really exist. It is only a reference to a spot that may eventually hold a String. It really is a "place holder".

An empty String, on the other hand, is an actual String of zero length (no characters).

If you are never going to use that String (as in a placeholder in an array), use a null. If there's a chance that String will print, you need to initialize that String to "" or "abc" or whatever.
17 years ago
Thank you Marilyn, Katrina and Carol. I didn't know the relative importance of the list, and just wanted to make sure that I wasn't doing something that I was supposed to be doing. LOL!
17 years ago
I don't think that I made it clear to which list I was referring. My question was meant to be about the Assignment Log in which it states:
------
If you are participating in the nitpicking process of the Cattle Drive, you may use this topic to keep track of your status.

Status in the log is shown as follows:
ColorStatus
Green BackgroundUpdated in the last 3 days
Red fontNo activity for 22 days
Orange BackgroundAbout to graduate
------
Anyway, it doesn't seem to be an issue as my assignments are still being nitpicked.
Thank you for your help.
17 years ago
Does it matter that my name doesn't seem to be on either the active or inactive list?
17 years ago
Thank you Tony, that is exactly what the problem was. Whilst you were posting I was discovering my typo. I appreciate your response.
17 years ago
I'm having difficulty getting the compiler to work. This is the error message that I get:

Hundred.java:15: package system does not exist
system.out.print(firstName + " ");

I've read and re-read your FAQs and still can't get this thing to work. My JDK is located in C:\Program Files\Java\jdk1.5.0_10. My path is as follows:
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";%JAVA_HOME%\bin;%J2EE_HOME%\bin.

JAVA_HOME is another environment variable which is C:\Program Files\Java\jdk1.5.0_10.

I'd appreciate any help that you might give me.
17 years ago