java
Harvard University
Aquí están los mejores recursos para pasar java. Encuentra java guías de estudio, notas, tareas, y mucho más.
3 resultados
Examen
Exam (elaborations) java
Exam (elaborations) java
Examen
Getting Started tojava
Popular36 JAVA QUESTIONS AND 100% ACCURATE ANSWERS 
1. If the following statement were used in a Java program, it would cause something to be written to the screen. What would it cause to be written to the screen? 
Sln("Java is not a drink."); 
2. Give a statement or statements that can be used in a Java program to write the 
following to the screen: 
I like Java. 
You like tea. 
3. Write a complete Java program that uses Sln to output the following to the screen when run: 
Hello World! 
4. What is a...
Examen
Exam (elaborations) java arrays
1. In the array declaration 
String[] word = new String[5]; 
what is 
a. the array name? 
b. the base type? 
c. the length of the array? 
d. the range of values an index accessing this array can have? 
e. one of the indexed variables (or elements) of this array? 
2. In the array 
double [] score = new double [10]; 
what is 
a. the value of h ? 
b. the fi rst index of score ? 
c. the last index of score ?