OOPS
August 25, 2024OOPS
August 25, 2024OOPS
Question 159
|
Which method is called first by an applet program ?
start( )
|
|
run( )
|
|
init( )
|
|
begin( )
|
Question 159 Explanation:
Init() method is called first by an applet program. In this method variables are declared and initialized. This method is invoked only once during the lifetime of the applet.
![](https://solutionsadda.in/wp-content/uploads/2020/03/Screenshot_342.png)
![](https://solutionsadda.in/wp-content/uploads/2020/03/Screenshot_342.png)
Correct Answer: C
Question 159 Explanation:
Init() method is called first by an applet program. In this method variables are declared and initialized. This method is invoked only once during the lifetime of the applet.
![](https://solutionsadda.in/wp-content/uploads/2020/03/Screenshot_342.png)
![](https://solutionsadda.in/wp-content/uploads/2020/03/Screenshot_342.png)
Subscribe
Login
0 Comments