Java Assignment – 1
1 | Explain features of Java. |
|
2 | Write a short note on Wrapper class. |
|
3 | Explain Thread life cycle and describe creation of thread with suitable example. |
|
4 | Describe Inheritance and its type with suitable example. |
|
5 | Explain use of Interface with suitable example. |
|
6 | Explain Encapsulation, Abstraction and Polymorphism with example programs. |
|
7 | How do you define JavaFx main class? What is signature of start method? What is stage? How do you display stage and can it be resized? If yes, then how do you prevent user from resizing it? |
|
8 | Explain constructor overloading using example. |
|
9 | Explain multi threading in java using example. |
|
10 | Explain final, finally and finalize. |
|
Java Assignment – 2
1 | Differentiate between constructor and method of class. |
|
2 | Explain: this, super, static, final. |
|
3 | Explain all visibility access modifiers. |
|
4 | Distinguish between method overloading and overriding with suitable example. |
|
5 | Differentiate between interface and abstract classes. |
|
6 | With example explain use of finally in exception handling. |
|
7 | Explain use of throw in exception handling with example. |
|
8 | How do you create a Scene object? How do you set a scene in a stage? How do youplace a circle into a scene? |
|
9 | What is a pane? What is a node? How do you place a node in a pane? Can you directly place a Shape or an ImageView into a Scene? Can you directly place a Control or a Pane into a Scene? |
|
1 comment:
Good work ..
Post a Comment