subject
Computers and Technology, 24.11.2020 01:10 aoexus

What will be the output of the given code? class BookName {
public void book() {
System. out. println(“new book”);
}
}
public class Check{
public static void main(String args[]) {
BookName c1[] = new BookName [5];
for (int i = 0; i<10 ;i++) {
c1[i] = new BookName();
c1[i].book();
}
}
}

A. to print new book five times
B. to print the numeral 5 five times
C. a runtime error
D. to print new book 10times

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 14:50
1. list up to six important assumption required to apply the m/m/s queueing model at barnacle cleaners for evaluating the two alternative presented in this analysis. for each assumption, write 1-2 sentences explaining why it is a valid assumption.
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 1
You know the right answer?
What will be the output of the given code? class BookName {
public void book() {
System...
Questions
question
German, 24.07.2019 21:00
Questions on the website: 13722361