armeen golden

Greenhorn
+ Follow
since Oct 02, 2005
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 armeen golden

alright i came up with a solution. i was under the impression that spotlight searches for the hidden file as well. i used thinkertool utility to identify .drjava file which was located in my home directory. the instructions in the documentation is not very clears on how exactly change the compiler version!

instead, i used the java preferences utility located in /Applications/Utilities/Java/J2SE 5.0/. from there i just had to change the order of java verstions that appls used in my system. before it was set to 1.4.2 then 1.5. now the order is the other way around and everything is working great.
18 years ago
thanks for the link. i am not able to find any confugration file in the home directory. the only file available is the drjava.plist which is located in home/library/prefereces/

any other inspiring ideas?
18 years ago
hi, i have been using drjava for a while and i am pretty happy with its interface and overall preformance. drjava compiler is using verstion 1.4.x however i would like to change that to 1.5 which is installed on my machine.

i am writing codes that takes advantage of new classes in 1.5 and it does not compile via drjava (compiler v.1.4.x) however through terminal which is set to compile via 1.5 version, those codes compile and work just fine!

i looked at drjava preferneces but i see no options to change the compiler version? by the way i am using mac os x tiger, drjava version 20050814-223.

thanks for your help in advance.
18 years ago
thank you every body. i have a much better grasp of why we do this. it makes a whole lot more sense now. thanks again.
18 years ago
so can we say that instance varialbes are associated with a particular instance and not with the entire class?
18 years ago
in my text book, i have seen examples containing of two classes. one class contianing methods that perfom useful tasks and one containing method main, which creates an object of the other class and calls its method! for the life of me i can't understand why we would take such approach? thanks in advance.
18 years ago
Layne, thank you for the nice explanation. now i'm able to identify a constructor from a method very well.

Michael, the code examples were very useful to visualize the duty of a constructor. is it safe to say that when you define a constructor, you have created an object that is already initialized?

Mark, thanks for the reminder. i understand now that constructors are used to initialize the object only and if anything needs to be done to them, that is done in the method call.
18 years ago
i am very new to java programming and basically trying to teach myself off of a book. i am struggeling to cearly understand what constructors are? what exactly do they do? how to define them? and perhaps any other information that may help to underatnd them better.

thanks.
18 years ago