Java Model Paper
Java Model Paper
1. Define applet.
2. What is an abstract class?.
3. What is an event?.
4. What are the access specifiers in java ?
5. What is an interface?
6. What is an exception?
7. Name any four packages mostly use in java
[Link] is upcasting ?
9. Define abstract class.
10. Define overloading..
11. What is super class?
12. Name and use of two math class functions in java.
13. What is exception?
14. define package.
5 marks question
1. Write down the difference between abstract class and interface.
2. Write down the difference between applet and application.
3. What is overriding in java ? Discuss with example.
4. Discuss user defined package with example.
5. Compare class and abstract class.
6. Explain the life cycle of an applet.
7. How to create a user defined package? Give examples.
8. Write down the difference between class and abstract class.
10 marks question
1. What is an array? How to create an array in java? Explain with an example.
2. Write a java program to demonstrate method overloading. .
3. Explain four String functions. Write down the difference between String and String buffer.
4. Write a java program to demonstrate single inheritance.
5. Explain applet life cycle with diagram. Write a java program to implement an
applet.
6. What is an exceptional handling? Write down one way to handling it. Write java program
demonstrate a division by zero exception.
7. Write a java program to demonstrate run time polymorphism.