What do you mean by light weight and heavy weight components?



What do you mean by light weight and heavy weight components?..

Answer / Dhirendra Kumar Awasthi

In Java, a lightweight component is a small, self-contained visual object that can be added to a container or other lightweight component. Examples include buttons, labels, and text fields. Heavyweight components, on the other hand, are larger, platform-specific objects that require more system resources and are not portable across different operating systems.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the use of protected in java?

1 Answers  


How does hashset work in java?

1 Answers  


What is variable explain?

1 Answers  


What is a function easy definition?

1 Answers  


Is singleton thread safe in java?

1 Answers  


What is the immediate superclass of the Dialog class?

2 Answers  


1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


Can java run on google chrome?

1 Answers  


What are invisible components?.

1 Answers  


What are constants?

1 Answers  


What are void pointers?

2 Answers  


What are implicit objects in java?

1 Answers  


Categories