Register Login
Internet / AI Technology University (ITU/AITU)
Created by info@itofthefuture.com
Welcome Anonimous.User to this quiz related to Java Card.

Read the question and choose correct answers. Time is limited to 40 seconds!

Important! Do not forget to rank the quality of the question (from bad to excellent).
An initiator of the quiz will get royalty score for QnAs created by her/him and can win the Top Creativity Prize.
Question:
JavaCard/dr-applet.jpgWhat is true about implementing a JavaCard applet?

A direct subclass of javacard.framework.Applet must implement the abstract
process-method.

An applet is implemented by subclassing the abstract Applet class from
the JavaCard API. The Applet class has only one constructor that takes
no arguments. The constructor of the subclass is usually only called by
the static install-method, which must be implemented. The constructor
is usually private. The process-method of Applet is abstract and must
be implemented in a direct, non-abstract subclass. How it should be
implemented depends entirely on the purpose of the applet. Typically,
the buffer of the incoming APDU object is read and examined. Depending
on its content it may be altered, and further methods may be called on
the APDU object.



A subclass of javacard.framework.Applet must implement the abstract
install-method.



The constructor of an applet must be public.



An applet must implement a static install method with the following
signature:
public static void install(byte[] bArray, short bOffset, byte bLength)



An applet is implemented by subclassing the abstract Applet class from
the JavaCard API.



The constructor of an applet which is a direct subclass of
javacard.framework.Applet must call the superclass constructor that
takes a byte[]: super(myByteArray);



Rank the Quality of the Question from "-10" (bad) or "0" (not clear) to 10 (correct) or even 20 (very good!)
-10 (bad/wrong) 0 (not clear) 10 (correct) 20 (very good!)
Your summary report will be available to you and your instructor. Thank you for your work!!!