| Thread | Last Post | Replies |
|
| how do i assign an instance to another instance? | 22 Nov 2005 23:23 GMT | 2 |
i have 2 classes (student & computer) i need to be able to assign an instance of computer to an instance of student and make it so no other instance of student can assign that same instance of computer.
|
| Printing commands | 22 Nov 2005 22:57 GMT | 2 |
I am using System.out.print() inside a for loop to print a series of items to the screen on the same line. After the for loop has completed, I want the next series of items to print to a new line (instead of printing to the same line as the first series). What is
|
| How can I store different class of object like cats, dogs, birds by Vector() | 22 Nov 2005 22:48 GMT | 4 |
How can I store different class of object like cats, dogs, birds by Vector(), and then retrieve their information or attributes? Thx for helping example like below
|
| non-static method??????????? | 22 Nov 2005 22:45 GMT | 2 |
why do i get thsi error message: non-static method getType()cannot be referenced from a static context my code below: if (ContractLength < 4 &&
|
| Newbie: error messages?? | 22 Nov 2005 22:43 GMT | 2 |
I'm getting the following two errors: C:\Documents and Settings\Richard\Semester\Student.java:17: cannot find symbol symbol : constructor CollegeCourse()
|
| im still having problems | 22 Nov 2005 22:14 GMT | 9 |
im creating a somthing that will simulate a computer rental service for students (uni homework), but im having problems. i want to be able to check if another instance has "type" (bieng a variable to store the type of computer) as desktop and if it has and the
|
| geting information from another instance | 22 Nov 2005 22:10 GMT | 3 |
How do I check if the value of a variable in another instance is true. code below: (type is the variable in another instance called Computer. if (ContractLength < 4 && type.equalsIgnoreCase ("desktop"))
|
| What does IEEEremainder do? | 22 Nov 2005 19:26 GMT | 4 |
I am reading "Beginning Java2 jdk 5 Edition" by Horton. On page 56 is the following paragraph.... The IEEEremainder() method produces the remainder from arg 1 after dividing arg 2 into arg 1 the integral number of times that is closest to the exact
|
| use of uppercase and lowercase in codes | 22 Nov 2005 18:17 GMT | 8 |
I am familiar with vba for excel. there you type in any case, the code staements are automatically changed to correct case. In java programming it is notdone. Even though I have vague notion when the case should be upper case is there any rule . for e.g in the statement
|
| java for beginners | 22 Nov 2005 17:54 GMT | 6 |
I would like to know the newsgroup which can help me, an absolute begnner in java programming. I have a book (may be old edition) "Java progamming for absolue beginner" by Joseph e russel. can I post my questions in this newsgrourp <comp.lang.java.help>
|
| Applet call Frame obj | 22 Nov 2005 12:36 GMT | 1 |
From a newbie I have made a simple Applet that call a Frame obj. Public class Applet1 extends Applet{ .
|
| Question regarding Java's OOP implementation. | 22 Nov 2005 09:39 GMT | 3 |
According to Wikipedia, one of the core concepts of OOP is Encapsulation; being defined as follows: "ensuring that users of an object cannot change the internal state of the object in unexpected ways; only the object's own internal methods are allowed to access its
|
| OOP | 22 Nov 2005 00:44 GMT | 13 |
Hi from a newbe. I have read some articles over Java and that took my interest. I have bought a number of books and works out the samples. My ages is 73 and I have experience with macros etc in spread sheets and have done some work in
|
| compile error: System is out of resources.. | 21 Nov 2005 18:53 GMT | 3 |
pls, what is this error? I have never gotten this error before, and exact same error occurs both on my tomcat at home and at work, when I compile this file.. sH is a helper class I use in all my Tomcat webapps to generate HTML code in servlets.. sH.class is in same package as
|
| Duplicate files...by the dozen | 21 Nov 2005 18:00 GMT | 11 |
I'm not sure if this is the right place to ask, but... I've been using jv16 Power Tools to clean up a machine and my does it find some crud. One tool searches out duplicate files, it found that there are hundreds of duplicates, many of them in C:\Program Files\Java... For instance ...
|