The Java Card API specifies the manner by which an applet accesses the Java Card Runtime Environment. There are two types of smart cards. One type just contains data, while the other contains an on-card CPU that allows to perform calculation on the card data. The Java Card VM is a trimmed-down VM because of the resource- contraints on the card. Check out the questions and answers for Java Card code examples!