McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
Which method executes only once
Q.
Which method executes only once
A.
start() method
B.
init() method
C.
stop() method
D.
destroy() method
Answer» B. init() method
2.9k
0
Do you find this helpful?
31
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
Program which executes applet is known as
In a ____ control structure, the computer executes particular statements depending on some condition(s).
You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?
You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?
When method defined in subclass which has same signature as a method in a super class, it is known as method
Methods declared as static have several restrictions:~~~1) They can only call other static methods.~~~2) They must only access static data.~~~3) They cannot refer to this or super in any way~~~Which of these are true?
Once an interface has been defined, one or more _____ can implement that interface.
State true or false (i) public can only be assigned to class (ii) protected protects a statement (iii) protected method is never accessible outside the package (iv) friendly variable may be accessible outside class
A method can be called only on its ___________.
To design a general-purpose search method, searchList, to search a list, which of the following must be parameters of the method searchList? (i) The array containing the list. (ii) The length of the list. (iii) The search item. (iv) A boolean variable indicating whether the search is successful.