JAVA test on P3
Question 1. How many types of variables in Java?- first
- 2
- 3
- 4
-
- Question 2. Which of the following variables are data fields?
- Representative variables and Parameters
-
- Representative variable and class variable
-
- Variables and local variables
-
- Class variables and Parameters
-
- Question 3. Which of the following variables are data variables?
-
- Class variables and Parameters
-
- Local variables and Parameters
-
- Local variable and class variable
-
The answers are wrong
-
- Question 4. Which of the following variables is the representative variable?
-
- float f;
-
- public static f;
-
- double CA (int f)
-
- There is no correct value
-
- Question 5. Which of the following statements is a class variable declaration?
-
final double d;
-
- private static id;
-
- volatile int sleepTime
-
- There is no right answer
-
- Question 6. Which of the following naming methods is incorrect?
-
- final
-
- dem
-
- _final
-
- $ final
-
- Question 7. How many basic data types are available in Java?
- 5
- 6
- 7
- 8
-
- Question 8. How many types of integers are there in Java?
- first
- 2
- 3
- All is wrong
-
- Question 9. How many basic character data types in Java?
- first
- 2
- 3
- 4
-
- Question 10. Definition of start () method?
-
All methods to perform the task after initialization must be inserted into the start method. start () starts the execution of the applet
-
Is the applet's starting method and runs in parallel with the applet
-
Applet initialization method and run parallel to the applet
- All is wrong
-
5 ★ | 1 Vote