Course Hero Logo

The width in bits of float primitive type in java is

This preview shows page 14 - 19 out of 19 pages.

The width in bits of float primitive type in Javais --. Select the one correctA. 64B. 32C. 1D. 8E. 16
Which of the following statements is/arecorrect on variable declaration in Java?
Which of the following are Java modifiers?
Which of these statements are legal? Selectthe correct answers.
You wantto find out the last element of an array. You write thefollowing code. What will happen when you compile and run itpublic class MyAr{public static void main (String Args[]){int [] i = new int [5];System.out.println (i[5]);}}A.An error at run timeB. 0C. 4D.Compilation error
Given the following codeimport java.awt.*;public class RedFrame extends Frame{public static void main(String args[]){RedFrame r = new RedFrame();r.setSize(300,200);r.setVisible(true);}}How could you set the frame surface color to red
End of preview. Want to read all 19 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
One
Professor
NoProfessor
Tags

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture