Difference between a Canvas and a Scroll Pane?.
Answer / sibasreeta mishra
Canvas is a component. ScrollPane is a container.
Canvas is a rectangular area where the application can draw or trap input events.
ScrollPane implements horizontal and vertical scrolling.
| Is This Answer Correct ? | 4 Yes | 0 No |
How many times garbage collector will invoke an object?s finalize() method?
Write a java program to print fibonacci series?
hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class
Difference between Superclass and Subclass?
What is java objectoutputstream?
Why does abstract class have constructor?
What is executor memory?
What are the advantages of packages in java?
What is serializable interface?
13 Answers Infosys, Probity Soft, Seed Infotech,
Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.
What do you mean by an interface in java?
How do you sing an Applet ?