What is light weight component?
Answers were Sorted based on User's Feedback
swings,threads are light weight components
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / cj.ashok
Light weight Component is Swing, for ex: In swings If u
want to create button the JVM is wont Ask that button to OS
instead of it ill create its own button type, thats y v
called swing is light weight component,
The Applet is heavy weight component becoz the JVM ask the
button component to OS,then the OS will give components to
JVM, Thats y v called Apllet is Heavy Weight Component
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / ravikiran(aptech mumbai)
light weight component is the one which will load into the
server easily
| Is This Answer Correct ? | 1 Yes | 0 No |
What do you mean by order of precedence and associativity?
Is string thread safe in java?
What are Interceptors?
Explain the difference between abstract class and interface in java?
What is anti pattern in programming?
What is the difference between inheritance and encapsulation?
How to sort an unsorted array in java?
How do you use, call, and access a non-static method in Java?
What about features of local inner class?
interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?
What is an argument java?
What is cloneable interface?