Confusion about size and capacity of Stack class

import java.util.*;
public class StackDemo {
     static void s_pop(Stack<Integer> s)
          System.out.print("Pop elements of Stack: ");
          try
               for(int i=0;i<s.size();i++)
                    System.out.print(s.pop()+" ");
          }catch(EmptyStackException e)
               System.out.println("Empty Stack");
     public static void main(String[] args) {
          Stack<Integer> s=new Stack<Integer>();
          System.out.println("Size of Stack s: "+s.size());
          System.out.println("Capacity of Stack s: "+s.capacity());
          s.push(10);
          s.push(29);
          s.push(76);
          s.push(-7);
          System.out.println("Now the size of Stack s: "+s.size());
          System.out.println("Now the capacity of Stack s: "+s.capacity());
          System.out.print("Elements of Stack: ");
          for(int i:s)
               System.out.print(i+" ");
          System.out.println();
          s.push(32);
          s.push(46);
          System.out.println("Now the Size of Stack s: "+s.size());
          System.out.println("Now the capacity of Stack s: "+s.capacity());
          System.out.print("Elements of Stack: ");
          for(int i:s)
               System.out.print(i+" ");
          System.out.println();
          s_pop(s);
} The outputs:
Size of Stack s: 0
Capacity of Stack s: 10
Now the size of Stack s: 4
Now the capacity of Stack s: 10
Elements of Stack: 10 29 76 -7
Now the Size of Stack s: 6
Now the capacity of Stack s: 10
Elements of Stack: 10 29 76 -7 32 46
Pop elements of Stack: 46 32 -7 // where are the other elements of Stack
import java.util.*;
public class StackDemo {
     static void s_pop(Stack<Integer> s)
          System.out.print("Pop elements of Stack: ");
          try
               for(int i=0;i<s.capacity();i++)
                    System.out.print(s.pop()+" ");
          }catch(EmptyStackException e)
               System.out.println("Empty Stack");
     public static void main(String[] args) {
          Stack<Integer> s=new Stack<Integer>();
          System.out.println("Size of Stack s: "+s.size());
          System.out.println("Capacity of Stack s: "+s.capacity());
          s.push(10);
          s.push(29);
          s.push(76);
          s.push(-7);
          System.out.println("Now the size of Stack s: "+s.size());
          System.out.println("Now the capacity of Stack s: "+s.capacity());
          System.out.print("Elements of Stack: ");
          for(int i:s)
               System.out.print(i+" ");
          System.out.println();
          s.push(32);
          s.push(46);
          System.out.println("Now the Size of Stack s: "+s.size());
          System.out.println("Now the capacity of Stack s: "+s.capacity());
          System.out.print("Elements of Stack: ");
          for(int i:s)
               System.out.print(i+" ");
          System.out.println();
          s_pop(s);
The outputs:
Size of Stack s: 0
Capacity of Stack s: 10
Now the size of Stack s: 4
Now the capacity of Stack s: 10
Elements of Stack: 10 29 76 -7
Now the Size of Stack s: 6
Now the capacity of Stack s: 10
Elements of Stack: 10 29 76 -7 32 46
Pop elements of Stack: 46 32 -7 76 29 10 Empty Stack
When i use s.size() in the first program then only first 3 elements are poped.But when i use s.capacity() in the second program then all of the elements are poped.But the size of the stack is 6 in both program.Then why all of the elements are not poped when I use size method of Stack????

> for(int i=0;i<s.size();i++)
     System.out.print(s.pop()+" ");
}Realize that s.size() is computed everytime the loop body is entered.
That size changes after the loop body (the 'pop') has been executed.
Better do this:for (int i= 0, n= s.size(); i < n; i++)
   System.out.print(s.pop()+" ");kind regards,
Jos

Similar Messages

  • HT201320 I am having trouble with password. Forgetting password,as I have many mail IDs like yahoo,gmail,hotmail,apple, I cloud etc.,thus confusing about password and restating through procedures. The altered password is not accepted I Safari

    I am having trouble with password. Forgetting password,as I have many mail IDs like yahoo,gmail,hotmail,apple, I cloud etc.,thus confusing about password and restating through procedures. The altered password is not accepted I Safari. When I want to open my mail but window appears as incorrect password though the mail appears on the left. however whe I go to my mail separately opening my mail, without mail icon in my pad.

    I'm having the same problem, what did you do?

  • Confusion about Kodo and JCA

    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio

    David-
    The fact that Kodo can integrate into an application server as a
    Resource Adaptor, and section 3.2.2 of the specification that says that
    the PersistentManagerFactory should be able to utilize a Resource
    Adaptor to obtain connections to the data store are two separate issues.
    We implement Kodo itself as a Resource Adaptor in order to provide ease
    of integration into recent application servers. Your confusion is
    understandable, since we do not actually yet support the use of Resource
    Adaptors as the Connection Factories as per section 3.2.2.
    Does that make sense?
    David Ezzio <[email protected]> wrote:
    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • Volume size and Capacity size Don't match

    Hello,
    I have a fileshare running Windows 2008 R2 that has a Dynamic Disk that is 1670.78 GB formatted NTFS.  The problem is if I look at the properties of the volume it says that the capacity is 987 GB.  I'm not sure how to get the capacity up to the
    full size of the volume.
    The histry is we had a 2003 x64 file share that started life as a scratch place to store files so was RAID 0, according to the original specs for the project that was what they wanted.  After time passed the share became permenant storage and loosing
    it was actually a problem.  At that point I wanted to make it RAID 5.  However I also was hoping to keep the Shadow Copies to enable them to find previous versions of files so I ended up creating an iSCSI target and mirroring them through windows,
    which made a full backup including the copies.  I then broke the mirror rebuilt the RAID and then re-mirrored to the new volume.  However becuase of going from RAID 0 to 5 I lost some space so had to resize the volume.  I used a 2008 R2 machine
    to shring the volume and then raised the capacity back up to the full size.  However the space available never actually grew.
    At that point I figured the problem was from the machine still running 2003 R2 and having been touched by a 2008 R2 machine.  So I scheduled an upgrade and the server is now running 2008 R2, however I am still missing 600GB.
    I can't expand the Volume at this point since there is no free space on the disk, and if I try to shrink the volume I get the option of how much to shrink, then after saying ok I get the error: "The parameter is incorrect."   When I look in the
    Application Log I see an error saying the volume wasn't defragmented because an error was encountered. "The parameter is incorrect. (0x80070057)"
    Please let me know any suggestions or if there is any additional information that would be helpful.
    Thank you,
    Eric

    Hello,
    Here is the chkdsk result:
    CHKDSK is verifying files (stage 1 of 3)...
      406672 file records processed.
    File verification completed.
      3368 large file records processed.
      0 bad file records processed.
      0 EA records processed.
      0 reparse records processed.
    CHKDSK is verifying indexes (stage 2 of 3)...
      469986 index entries processed.
    Index verification completed.
      0 unindexed files scanned.
      0 unindexed files recovered.
    CHKDSK is verifying security descriptors (stage 3 of 3)...
      406672 file SDs/SIDs processed.
    Security descriptor verification completed.
      31658 data files processed.
    CHKDSK is verifying Usn Journal...
      314844376 USN bytes processed.
    Usn Journal verification completed.
    CHKDSK discovered free space marked as allocated in the
    master file table (MFT) bitmap.
    Windows has made corrections to the file system.
    1035144191 KB total disk space.
     912448340 KB in 341209 files.
        165660 KB in 31659 indexes.
             0 KB in bad sectors.
        809607 KB in use by the system.
         65536 KB occupied by the log file.
     121720584 KB available on disk.
          4096 bytes in each allocation unit.
     258786047 total allocation units on disk.
      30430146 allocation units available on disk.
    Even though it reports altering the free space when I go look at the disk I see this:
    (This is the best command I've found to copy into here, if you know a better one please let me know)
    DISKPART> detail volume
      Disk ###  Status         Size     Free     Dyn  Gpt
    * Disk 1    Online         1670 GB      0 B   *
    Read-only              : No
    Hidden                 : No
    No Default Drive Letter: No
    Shadow Copy            : No
    Offline                : No
    BitLocker Encrypted    : No
    Installable            : No
    Volume Capacity        :  987 GB
    Volume Free Space      :  116 GB
    I don't think this is just the difference between size and size on disk, I think for some reason my MFT or something is screwed up.
    Please let me know what you would like me to try next.
    Thanks,
    Eric

  • Confused about XPostFacto and the 8GB Limit - Please help

    Hi all,
    I've been running XPostFacto 4.0 on my Apple G3 Desktop (Rev C, 640MB Ram, 533 Mhz G4 OWC CPU upgrade) for sometime and is running great.
    But I have a question about the 8GB rule.
    This computer only runs off of a Seritek SATA card. There is a 35 GB Raptor drive on it, the first 7.81 GB is the 10.3.9 drive, and rest is for applications and files.
    I added a 160 GB Hitachi drive to the SATA card that I moved from my G4 MDD computer. It already has 3 partitions: 30 GB for 10.3.9, 10GB for OS9, and 115 GB for audio production files.
    If I wanted to boot off the Hitachi drive, would I have to re-format and create a 8 GB partition?
    As is, if I try to boot off the drive I just added, XPostFacto tries to synchronize the files, then it invariably crashes.
    I tried reading the manual again, but I get confused about the Mac OS X Installer and the 8GB rule, and so on.
    Thanks!

    i wound up erasing the partition on the transferred drive and carboncopycloning the beige's OS X drive to it...and now the transferred drive is booting ok!
    now, i'm thinking of copying the whole raptor drive over and re-partitioning the raptor drive (strangely, the raptor appears with about 9 partitions on Disk Utility, though the only two that i created are clickable...wonder if the OS sees this drive as something like scsi).
    this is a little asides the point, but on my MDD, the 7200 hitachi seemed to test as "faster" than the 10000rpm raptor in most categories. would the 7200 drive infact be better for OS style-tasks?
    Powerbook Alum 15 G4, MDD Dual 867 Mhz, Beige Minitower G3 Mac OS X (10.3.9)

  • Trying to set up encrypted mails but I'm confused about certificates and keys

    Hello all,
    My first foray into encrypted emails and I'm already confused! To begin with, I'm trying to exchange mails with one other person, who I believe uses Outlook. So far:
    He's sent me his certificate (although I thought I would receive his public key) which is a file called smime.p7m. I don't know what to do with this.
    I've successfully followed the instructions at https://support.mozilla.org/en-US/kb/digitally-signing-and-encrypting-messages. When I start a new mail, I can either go to the Enigmail menu and switch on encryption / digital signing and it seems fine, or I can go to the dropdown on the S/MIME button and it says "You need to set up one or more personal certificates before you can use this security feature." Are these two different ways of doing the same thing (in which case I'll use the one that works!) or not?
    As you can see, I'm getting confused between keys and certificates! If some kind person could take a minute to explain what my next steps are, that would be much appreciated. I couldn't find anything on the Thunderbird support pages, though I know I need to send him my public key.
    Thanks in advance.
    Stuart.

    Stuart8, good find, that article.
    I found the main disincentive to using the built-in S/MIME capability is that it's not immediately obvious where to get your certificate and keys. Most providers want $$$ for them, which is natural enough if they are actually going to validate you in some way. I did at one time have a Thawte certificate and even enough WOT vouches to be a low-grade WOT Attorney.
    Once you have your key, it's a bit of a pfaff to install it into Thunderbird. You'll probably find that S/MIME is the default in business correspondence, since many businesses operate their own mail servers, ftp servers and so on and probably have an arrangement to generate self-issued certificates or to buy them on a commercial basis from a CA.
    Enigmail/OpenPGP doesn't require any financial outlay on your part, but is harder to get your keys properly validated since there's not much of a formal WOT nor a reliable central registry. You generate your own keys and it's pretty much all based on mutual trust.
    Since the two systems are incompatible, you need to have set up the same as whatever your correspondent is using.
    I suspect that you have discovered that it's a two-way process. In order for a correspondent to send you an encrypted message, you must both be using the same system, and he must have your public key to encrypt his message, and you'll need his in order to reply with encryption. So yes, he needs to send you his public key for you to send to him, but what he sends to you needs YOUR public key.
    Obviously, signing messages is a useful halfway house. I believe that you sign with your private key, and the recipient will have to download your public key to validate your signature. Whilst a signature doesn't safeguard your privacy, it goes some way to proving that the message came from who it says it came from and that it hasn't been altered in transit. (I really can't understand why banks, lawyers, insurance companies haven't picked up on these encryption and signing schemes. Perhaps they actually prefer all those awful phone calls where you need to struggle to recall supposedly unforgettable names and dates! ;-) )
    In practice, I find that if you sign a message to an outfit who don't know what to do with it, their numpty anti-virus system will probably barf on the signature which it thinks is executable code and therefore must be a virus or worm. :-(

  • File Sizes and Capacity

    Ive noticed low available space on my system how i do go through each folder to find ou thowmuch it contains?
    like in windowsxp [i know its a diff os..but in comparison] how owuld i see the file sizes through out each folder ?
    thank you

    an easier solution is to click that little gear icon at the top of the finder window (make sure you have nothing selected) the click "show view options" then check off "size" and "calculate all sizes" and make sure at the top that "all windows" is selected....that should do the trick
    (@work) eMac G4 1.25 GHz OS X 10.3.9 (@home) Mac Pro 2.66 GHz Intel Quad-Xeon   Mac OS X (10.4.9)  

  • [solved] confusion about vim and its config files

    Hi, Im getting really confused with vim and its /etc/vimrc config, and the per user ~/.vimrc.
    On one of my PC's I have an untouched /etc/vimrc and a /home/jason/.vimrc which has:
    syntax on
    now, on that same PC, if I run
    vim .vimrc
    "syntax on" in green and yellow as expected, and if I run
    sudo vim .vimrc
    I also see
    "syntax on" in green and yellow, but surely this is opening it as root?
    *Edit
    Even though there is no .vimrc in /root, and the system-wide /etc/vimrc is untouched/blank
    On another PC I also have an untoched /etc/vimrc, and a /home/jason/.vimrc which has:
    syntax on
    Aswell, and:
    vim .vimrc
    has "syntax on" in green and yellow as expected, but this time:
    sudo vim .vimrc
    Has no colour?
    I cant explain this, any ideas?
    *Edit
    To clarify, both PC's have an untouched /etc/vimrc and there is no /root/.vimrc file on either PC
    Last edited by jrussell (2013-04-14 10:21:42)

    siriusb wrote:
    The configuration files in /etc are for system-wide settings. These are the default settings if not overridden by a user's own settings in their home directory.
    So running vim as your regular user will use the settings from your home directory.
    What does sudo? From man sudo
    sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
    So if you didn't specify any setting in the home folder of the user you want to run vim as, and you don't have anything in /etc/vimrc, vim won't apply any custom settings.
    I understand all of that, but on both my PC's I have a clean/untouched config /etc/vimrc, and both /root/.vimrc files do not exist, so howcome on one PC I get colour with sudo vim...., and on the other I dont?

  • Confuse about ADS and How to check ADS in NW7.0

    I confuse about ADS. It's a separate software from NW 7.0 or integrate when install NW7.0 . How to check ADS in NW7.0.
    Thanks in advanced

    Everything here : https://www.sdn.sap.com/irj/sdn/adobe
    Summary: installed with NW7.0, you must configure it. See config guide how to check it.

  • Confused about CLASSPATH and how java handles import statements...

    Hello,
    I must admit I don't get it. I read the articles about setting CLASSPATH etc. but I still wonder:
    If you use an import statement, what does the compiler do? I.e. where does it look for the specified classes? I find it confusing because I see in different locations different .jar files:
    C:\jdk1.3.1_03\lib\dt.jar
    C:\jdk1.3.1_03\lib\htmlconvertor.jar
    C:\jdk1.3.1_03\lib\tools.jar
    and also
    C:\jdk1.3.1_03\jre\lib\i18n.jar
    C:\jdk1.3.1_03\jre\lib\rt.jar
    C:\jdk1.3.1_03\jre\lib\jaws.jar
    C:\jdk1.3.1_03\jre\lib\sunrassign.jar
    Can someone explain me what the purpose is of these files?
    And why do I have the same contents in
    C:\Program Files\JavaSoft\JRE\1.3.1_03\lib
    and in
    C:\jdk1.3.1_03\jre\lib
    Why is that?
    Thanks for answering my questions!
    -mike

    Thanx for the answers, but I still wonder, everyone
    here says I need to set the classpath, but I don't.Probably because your classes are already in the class path. The compiler/jvm also look for classes by themselves not just in jar files, when just a directory is supplied in the class path. And a period (".") is a valid directory.
    Programs importing different classes compile with no
    problem. So what's up with that?
    Presumably you are referring to your own code - because they are in the class path.
    Second, I still don't understand why the runtime needs
    the .jar files. The runtime uses classes, like String, that have to come from somewhere.
    This would also mean that end-users
    need to set the classpath to the .jar files in their
    JRE directory to be able to run programs that import
    classes from these .jars. But this is not true, right?No it is true. The end-users will have to set the class path. There are variations on this which make it seem like no class path is set. For instance applets in a browser are java but the end-user does not need to set a class path. That is because the browser knows how to download classes/jars and how to set it up so it uses them. (Actually it uses a class loader, but that is probably more information that you need.)
    Because if I make some nice classes myself and import
    them, how can I expect my end-user to install these
    classes and make a classpath for them?That would be between you and you end-user.
    First installation is not part of java. For installation you will have to find something outside of java to accomplish the goal.
    Additionally how the class path gets set is OS specific. Java does not deal with that. You will also have to find some way to deal with this (most likely part of the installation.)
    There are also variations on this. For example the browser example I gave above. Or using the ext directory. Or creating an executable jar. Or simply setting the class path.
    In my understanding it should only be needed in the JDK, not
    in the JRE. True or am I mistaken?Mistaken. The class path is needed in the JRE as well. You will need to set it.

  • Confused about import and export formats

    I have a load of 8mm video footage that I want to archive before the old camera dies. As a first step I have used my DVD/HDD recorder attached to my TV to save the footage from the camera, do a little bit of editing and then burn onto DVD at the highest quality available. Doing this I can get 60 mins of footage onto each DVD and the quality is a good as the original. I now want to play with a few of these by importing into iMovie 09 so that I can add a few titles and link clips together with a few transitions. Nothing too complicated. Here's where I get a bit lost with all the formats available to me for importing and exporting. What's the best way of doing this? Having read around a bit it looks like conversion to DV is good for getting into iMovie in the first place. To do this I have tried using MPEG Streamclip and it looks OK, but what about all of the settings options DV25, DVCPRO25, DVCPRO50, frame blending, downscaling etc etc no idea what any of this means. Then having added a few bits and pieces, what's the best way of saving it again to make sure that I keep the quality as high as possible - DV? Ultimately I'd like to have the edited movies back on DVDs with the footage quality the same as I started with i.e. no compression artefacts. If I save the final version in DV format I could then keep copies to view with Quicktime and then do I just use iDVD or MPEG Streamclip to convert to a format playable on a DVD player. Is there any guide somewhere as to what all of the different formats are for pro.s cons etc. Also confused as to why files get bigger and bigger e.g. a 20min clip on a DVD is about 1.5GB, but when converted to DV becomes almost 5GB. I can understand how compression makes files sizes smaller, but what's happening here??
    Neil

    A Quick Time .mov movie can play on any PC as log as they have the Quicktime player
    free http://www.apple.com/quicktime/
    To do it, open iMovie, pick you project, then "Share to Media Browser" and pick the "HD" setting. It can take hours/movie depending on their length. Once it is done you can find it inside the iMovie project's file. TO get there, go to Users Folder -> your User name folder -> Movies -> iMovie projects -> and find the project that you made the movie from. Right click on that file (or use the control key as you click on the file) and you will see a menu -> Show Package contents -> Movies and your 720p .mov movie will be in that Movie folder. you can drag it to your desktop and copy it to your external HD or flash drive.
    roger

  • Confused about Mapviewer and SQL in OBIEE 11g.

    I read in another post that you cant use mapviewer unless you have an oracle database.
    Here is my confusion. The mapviewer product comes with OBIEE 11g, Correct?
    If I use Google Maps, and load the map information into an SQL data base, why wouldnt I be able to get it to work?
    I cant believe that Oracle, who makes a big deal about how OBIEE can work with "Any data source", would provide a key function
    that would only work with an Oracle data base, thereby purposely excluding many of their customers from using that key function.
    Someone please clear this up for me because we need to use maps and we use SQL Server 2008  for our data warehouse.

    Hi katherine,
    FILTER(count(distinct("customer info dimesion"."customerID")) USING ("TradeType Dimesion"."TradeType" = '001'))I think your formula there is mistake like many braces...instead type this in your f(x)
    =>Filter(count(distinct customer_id) USING trade type='001')
    This filter function is same like a case statement,if you filter still gives error write a case statement
    CASE WHEN TradeType Dimesion.TradeType='001' THEN count(distinct customer info dimesion.customerID) ELSE 0 END
    Will it be helpful?,follow this etiquette http://forums.oracle.com/forums/ann.jspa?annID=939
    By,
    KK

  • Confused about imessage and apple account

    So I just got my own icloud account. I used to share one with someone else but now I got my own. First, is the icloud account the same as apple account? Like is the apple store account the same as the icloud account?? Second, since I got this new account I started using it in imessage. But one problem is that it's not showing my phone number on the send and receive. But on the old account it does. Why is this? I'm super confused! What's the deal with all these accounts and it's relationship with imessage?
    i Have an iPhone 4S(ios 7), the newest ipod(ios 8) and an ipad air(ios 7)
    thank you

    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    Using your Apple ID for Apple services
    Frequently asked questions about Apple ID

  • Confusion about Reader() and InputStream()

    I am reading the "Overview of I/O Streams" tutorial, and I'm trying to get a handle on streams. I can't seem to understand whether InputStream() is a subclass of Reader() or if they are just two separate classes. I think they are two separate classe because one reads bytes the other reads chars...but then at the beginning of the tutorial it says everything is derived from the Reader() class. What's the dealio?

    I think you are confused.
    InputStream is not a subclass of Reader. Both of them extend from Object.
    Reader is used to handle the data in the form of characters, while InputStream is used to handle the data in the form of bytes.
    Read the explanation carefully in the tutorial.

  • Question about size and quality...

    Hey guys, i just finished editing a video that's only 7 minutes long but is 1.5 Gigs, which is huge. And the quality of the video isn't that great. Im new to FCE and i'm still trying to figure out how this all works, can anyone help? Is there a way to get maximum quality while keeping the size on the down low???
    Thnx

    the quality depends on the settings you use. Quicktime conversion gives you a lot of options, like if you select movie to quicktime movie (I think) you'll get lots of options, e.g. broadband high makes a pretty small video, but still pretty high quality as well. to get even more options, you can click the options button and move around the slider for quality and adjust the framerate etc.
    It probably seems confusing, but some formats aren't just "better" than others, it all depends on what your going to use the clips for.

Maybe you are looking for