Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Applet
« Previous
Next »
Which Component method is used to access a component's immediate Container?
Options
- getVisible()
- getImmediate()
- getParent()
- getContainer()
CORRECT ANSWER : getParent()
Discussion Board
hello
very nice answer and detailed explanation
Archana Gavade 01-7-2015 01:39 AM
getParent()
getParent() is the component method used to access a components immediate Container. It gets the parent of this component.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user. For example: buttons, checkboxes, and scrollbars of a typical graphical user interface.
The Component class is the abstract superclass of the nonmenu-related Abstract Window Toolkit components. It can be extended directly to create a lightweight component which is associated with a native window.
Rohit Sharma 09-30-2014 05:07 PM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲