Examlex
Look at the following applet code:
1 import javax.swing.*;
2 import java.awt.*;
3 public class GraphicsTest extends JApplet
4 {
5 public void init()
6 {
7 getContentPane() .setBackground(Color.WHITE) ;
8 }
9 public void paint(Graphics g)
10 {
11 super.paint(g) ;
12 g.setColor(Color.YELLOW) ;
13 g.fillOval(100, 100, 50, 50) ;
14 g.setColor(Color.BLACK) ;
15 g.setFont(new Font("SansSerif", Font.BOLD, 35) ) ;
16 g.drawString("SLOW", 110, 110) ;
17 }
18 }
What will be the coordinates of the center of the oval?
Investment Period
The duration for which funds are held in an investment before being withdrawn.
Compounded Annually
Refers to the process where interest is added to the principal sum at the end of each year, allowing the interest to earn interest in the subsequent year.
Inheritance
Assets received from a deceased person's estate by heirs or through a will.
Borrower's Payment
The amount of money a borrower is obligated to pay back to a lender according to the terms of the borrowing agreement.
Q2: Which of the following is valid?<br>A) float
Q3: In SQL, the REFERENCES qualifier ensures referential
Q4: In the following code, what will the
Q13: When an argument is passed to a
Q28: Which of the following methods of the
Q28: The catch clause:<br>A) follows the try clause<br>B)
Q40: The computer can do such a wide
Q44: What will be the value of x
Q46: Column names in a database are:<br>A) case
Q94: Which of the following is a benefit