Examlex
Assume xArray and yArray are equal length arrays of int values storing num items (num is also an int). Write a paint method for an Applet that will draw a Polygon shape using this information. Assume xArray, yArray and num are all instance data of the Applet.
Q1: The Java compiler is able to find
Q4: Which of the following interfaces would be
Q6: A cast is required in which of
Q11: Any class can implement an interface, but
Q19: The assignment statement d = p; is
Q21: What is printed by this code?<br><br> public class
Q26: Why should the add( ), subtract( ),
Q30: The size and shape of a GUI
Q40: Which of the following is a legal
Q42: An interface name can be used to