Arthur Lyman

Greenhorn
+ Follow
since Dec 30, 2000
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 Arthur Lyman

Why do you think they are not Indian, and what would their motive be for masquerading?

Originally posted by Amitabh Sharma:
Here are some people who claim to be Indian but I feel they are
not:
- The Point
- Ram Ram
They might be Pakistanis who are masquarading as Indians.


22 years ago
This post prompted me to review how negative numbers are represented.
-1 is 11111111 11111111 11111111 11111111
Hence -12 is 11 less than this or -8 -2 -1 less:
11111111 11111111 11111111 11110100
22 years ago
I am guessing that the methods under the class Account are somehow part of Bank, and should be referenced by the specific instance of Bank, JavaBank.
22 years ago
I am curious what kind of application you are developing that requires knowledge of the volume serial number. I think of Java as working at such a high level of abstraction that it would never care about volume serial numbers. It almost sounds like you are writing a utility that is by it's nature operating system specific and not a good candidate for a Java project.
22 years ago
Assignment Java-3 Leap
Attempt 2
[This message has been edited by Arthur Lyman (edited April 17, 2001).]
22 years ago
It seems that someone with your background should have little trouble adapting to a specific style guide. It was mildly frustrating at first to resubmit what looked like simple assignments 2 and 3 times over, but I understand how a uniform style for all is to be preferred to one that is well-organized but personal. If no one else will ever have to look at or maintain code that you have written, it doesn't matter.
In any case, people here are spending their free time to correct these assignments, and to make too much of their guidelines, has the appearence of looking a gift horse in the mouth.

Originally posted by Rick McKay:
I too am a dropout, but I'm not so enthusiastic about getting back into the cattle drive.
I have a few reasons for this -- maybe you can convince me to change my mind.


(Marilyn added missing ubb tags)
[This message has been edited by Marilyn deQueiroz (edited April 18, 2001).]
22 years ago
I will try give my concise version of the rule.
Every year is a leap year when it is evenyly divisible by 4, unless it is also divisble by 100. e.g., 1904 is a leap year; 1900 is not.
If the year is divisible by 400, it is a leap year NO MATTER WHAT. e.g., 2000 is a leap year because it is divisible by 400(This rule tales precedence over the divisibility by 100 rule).
22 years ago

Originally posted by Randall Twede:
with objects you can use instanceof but int is not an object.


I just read something about class wrappers for integers in java.lang.Integer which allows them to be treated as objects. Maybe there is a helper function in there that can handle testing for an instance of an integer without too much trouble.
22 years ago
I started using TextPad following your recommendation. It is a big step up over my DOS EDIT with a bunch of batch files and two command sessions to facilitate compiling and running. I did have a problem getting the program to stop and ask for run time parameters as the Cattle Drive exercises require. I had to go to Tools, Preferences, Tools, Run Java Applications and check off the option 'Prompt for Parameters'. The first time I tried this it just wouldn't work, but I came back the next day, checked off the option again, and it started working. Go figure.

Originally posted by Allen Alchian:
Todd,
I use TextPad that Paul referred to. It is nice for several reasons, not the least being that you can compile and run your code from within TextPad. And TextPad also allows you to assign different colors to various types of code statements (green comments and strings, blue keywords, etc). Program output is captured in a window within TextPad, so you can scroll throught it if it is multiple lines long. Same goes for any error messages from the complier. TextPad, in my opinion, is almost as good as an IDE except it won't step through a progam one statement at a time. But for shareware and a $27 registration fee, it's one of the best deals around.
I also have JBuilder, but I only use TextPad for writing my programs while learning Java.
My advice: don't waste your time with NotePad.


23 years ago
For the time being I am getting by with the DOS Edit that comes with Win 98, but I am open to suggestions for other editors.
23 years ago
I am also new to Java, but not new to programming. I am the director of information systems for a small Wall Street money management firm. I have seen many applicaton development environments come and go(Remember when Foxpro was the final answer to all development in some circles). I am learning Java to try to move my career back in the area of development and believe that my investment in learning Java will be a good longtime investment. Java is not a fad.
23 years ago