How to initialize an Applet ?

Answer Posted / raushan

/* <applet code=classname.class width="500" height="500"></applet> */
add this code in your program as it is written (along with comment symbol) just after import of packages.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we define constructor in inner class?

545


What is binary search in java?

559


What is the purpose of return statement?

631


What is args length in java?

667


What's the difference between int and integer in java?

540






Explain about main() method in java ?

586


Is java developer a good career?

558


What is remote method invocation (rmi)?

616


What is collection api?

612


Is array primitive data type in java?

544


What is collection class in java?

549


Can we have any code between try and catch blocks?

563


How does linkedhashmap work in java?

521


What is nextline method in java?

566


What is final variable?

498