| Thread | Last Post | Replies |
|
| overriding attributes | 12 Dec 2004 12:35 GMT | 4 |
I have a class A and a class B inheriting from A. I have a class C and a class D inheriting from C. I would like to have a attribute ATTR of type C in A. But in B, I would ATTR to be of type D.
|
| ADT's vs. interfaces | 12 Dec 2004 00:12 GMT | 11 |
what is the differences between ADT's and interfaces? also what are abstract classes? can you also include examples? thnks
|
| Problem With Program That is Supposed to Scribble In Different Colors | 11 Dec 2004 23:50 GMT | 4 |
The following program is suppossed to scribble a line on a panel after different buttons are pressed but I get the following errors: At the line Panel p = new Scribble();
|
| Program to Convert Farenheit to Centigrade | 11 Dec 2004 23:22 GMT | 5 |
The folowing program is supposed to covert farenheit to celsius and visa versa. Text is entered as a temperature then a button To Farenheit or To Celsius is pressed
|
| web.xml docs ?? | 11 Dec 2004 20:39 GMT | 2 |
Can anyone point me to the web.xml parameter specification - i.e. docs that tell me what params are available, etc. Searching for web.xml returns a bunch of unrelated results because of it's popularity on websites.
|
| Serializing objects | 11 Dec 2004 19:50 GMT | 7 |
How to serialize an object? If I implement Serializable, what responsibilities and possibilities does this give the class/object?
|
| Padding numbers | 11 Dec 2004 18:26 GMT | 6 |
I need to write a method whereby integer values less than 100 are padded with leading zeroes (e.g. 007). Is it possible to do this keeping the integer as it is, or do I need to convert it to a char and do something like:
|
| Keylistener without GUI? | 11 Dec 2004 17:03 GMT | 2 |
Does anyone know a way how to capture keyboard events from a console program without using java.awt.events? I tried: BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
|
| Begginner needs simple help with Arrays. | 11 Dec 2004 17:00 GMT | 2 |
This year at University I am doing a beginners Java module. We are looking at OOP Java style. This week we did Arrays. I couldn't really get my head round it all, and one of the Tasks we have to do, that is giving me a whole load of grief is this one.
|
| value comparison of java.sql.Date type | 11 Dec 2004 16:57 GMT | 1 |
Hi, how to compare two values of java.sql.Date type? That is, how to know which one is eariler or later? Thx!
|
| Running a JSP | 11 Dec 2004 15:50 GMT | 1 |
I am have tried again the following code. <html> <body> <%
|
| sito eratostenesa- prosze o pomoc | 11 Dec 2004 15:48 GMT | 2 |
mam do zaprogramowania program w javie wyznaczajacy liczby pierwsze na podstawie logarytmu sita eratostenesa. Nie byloby to zbytnio trudne, gdyby nie fakt, iz mam to zrobic przy uzyciu bit-metody, tzn. cyfry musza byc przedstwione jako ciag bitow. 1 array zawiera 32 bity i
|
| Converting Object to Object[] After Invoke() on a Method | 11 Dec 2004 10:50 GMT | 2 |
I'm using a class that I have to instantiate by reflection, so when I use a method in it, I have to use it through invoke(). Invoke always returns type Object (never Object[]). So if invoke() returns an Object, how can I convert it to Object[] (or even
|
| new 'for' syntax, on private list member. | 11 Dec 2004 00:57 GMT | 4 |
I have a class: class MyClass { private List<int> myList;
|
| java ng question | 10 Dec 2004 23:23 GMT | 3 |
Hey all, who creates ng ? else it might be a good idea to create something like comp.lang.java.homework
|