I have a three class:
1. Class Algorithm having max() finding maximum value in a Collection
2. Class Fruit
3. class Apple extending Fruit
Now the question is this:
according to the Collection.max() function I should write
Because class Apple does not implement Comparable. But the one I have wrote is working fine without any problems.
I am writing some code in fortran that defines certain shapes.
Currently I have a cuboid and a prism. Now a parallelepiped is both a cuboid and a prism. Is there a way to code this?
Currently I only have
Type, Extends (Cuboid) :: Parallelepipied
How can I do so that Parallelepipied is... (3 Replies)
Error received when I tried to restore a blank disk with an 'auto recovery' DDS tape via HP-UX recovery system 2.0 onto a 1Gb SCSI. I assumed it would do the setup, wrong. Could someone tell me the procedure to initial disk for recovering files using cpio. The system is a HP-UX 9.04 version on a... (1 Reply)
i'm trying to get a samba server up and running.
however, there is no argument in OpenBSD's "passwd" command that i know of that will allow the following:
-l This option is used to lock the specified account
and it is available to root only. The locking is
performed by... (1 Reply)
Hi all,
I am totally new to UNIX. I am currently using converting an existing software package from MFC C++ to wxwindow which allows the software to run under Windows and UNIX. My problem is my existing software package writes to and from the registry. How is this accomplished in UNIX? ... (2 Replies)