Home

What is the correct answer?

4

Which of the following methods can be used to remove a component from the display?

A. remove()

B. desappear()

C. hide()

D. move()

Correct Answer :

C. hide()


Related Questions

When we invoke repaint () for a Component, the AWT invokes the method: In RMI before running the client program we must start RMI Registry. It is an error to catch the same type of exception in two different catch… When X is a positive number the operations x>> 2 and x>>>2… The use of protected keyword to a member in a class will restrict its… One the features of is that an array can store many different types of… Declarations can appear anywhere in the body of a Java method. In RMI we invoke client method from remote server In the code below, what data types the variable x can have? A package is a collection of Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division… Frames and applets cannot be used together in the same program. Which of the following control expressions are valid for an if statement? Which of the following statements are true? Throwing an exception always causes program termination. executeUpdate automatically updates data because___________ The modulus operator (%) can be used only with Integer operands. It is an error if a class with one or more abstract methods is not explicitly… The methods wait() and noify() are defined in DataInput is Which of the following classes are available in the java.lang package? An EJB is a server-side component that encapsulates the business logic… A panel can not be added to another panel. Which of the following are the wrapper classes? A thread can make second thread ineligible for execution by calling the… When the string objects are compared with ==, the result is true If the… The programmer must explicitly create the system .in and system .out objects. A Java monitor must either extend thread class or implement Runnable interface. Which of the following statements are valid array declarations? Which of the following represent legal flow control statements?