Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QUESTION 1 A double is more precise than a float. True False QUESTION 2 char is

ID: 666082 • Letter: Q

Question

QUESTION 1

A double is more precise than a float.

True

False

QUESTION 2

char is a valid identifier.

True

False

QUESTION 3

Which one of these is not a primitive data type? _________________ .

int

double

bool

long

char

QUESTION 4

The two floating point data types are _____ and _____

QUESTION 5

String literals are surrounded by _____ quotes

QUESTION 6

By convention, method names, instance variables and object names start with a lowercase letter.

True

False

QUESTION 7

When an object reference is first declared, its value is null.

True

False

QUESTION 8

By convention, class names start with a capital letter.

True

False

QUESTION 9

OOP stands for _________________

QUESTION 10

The operations for a class are called _____

QUESTION 11

The special method that we call when instantiating an object is called a _____

QUESTION 12

API stands for _____

QUESTION 13

An applet is an extension of the JApplet class.

True

False

QUESTION 14

Which package is the Graphics class part of? _________________ .

javax.swing

java.swing

java.awt

javax.awt

java.graphics

QUESTION 15

Which applet method is called automatically when the applet needs to redraw itself? _________________ .

init

main

paint

exit

applet

QUESTION 16

What is an applet viewer?

int

double

bool

long

char

Explanation / Answer

1) TRUE

2)True

3)long

4)float and double

5)" "

6)False

7)True

8)False

9)Object Oriented Programming

10)Methods

11)Constructor

12)Application Programming Interface

13)False no Japplet is an extension of applet

14)java.awt

15)paint

16)applet viwer is used to test applets.It is a command line program from sun microsystems to java.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote