1 seems spindly to be a Dieff. I'd lean towards Aglaeonema myself.... 2 looks like Dracaena 'Compacta' but quite honestly I wouldn't swear to it without more detailed photos - it could also be a pot of Clivia or a really short Yucca.
Yeah, I waffled a bit between the two before voting Dieffenbachia. (I've seen some pretty leggy ones...ashamed to admit that some have been my own!) Agree that we need better detail on 2. I even thought Haworthia for a split second...am 95% certain that that's NOT what it is, but am nonplussed as to its ID.
The First one came in a basket with other green plants from a flourist, this plant is only green, no other color or pattern appear on the leaves. The second one is some type of succulent with dark green sphere like tubes ?
First one looks like an aloe. Second...well, I'll say it's an aroid, but hesitate on a more specific ID. Spathiphyllum? Dieffenbachia? Or, as lorax said, Aglaeonema?