Questions
Which of the following methods is present in the AbstractButton class in Java?
- getIconGap()
- getTextGap()
- getTextIconGap()
- getIconTextGap()
- None of these
Which of the following methods is not present in the AbstractButton class in Java?
- getDisabledIcon()
- getDisabledSelectedIcon()
- getSelectedDisabledIcon()
- getHorizontalAlignment()
- getHorizontalTextPosition()
Which of the following methods is not present in the AtomicInteger class in Java?
- addAndGet(int x)
- getAndSet(int Value)
- incrementAndGet()
- doubleValue()
- isInteger(int x)
Which of the following methods is not defined in the WindowEvent class in Java?
- getWindow()
- getOppositeWindow()
- getNewState()
- windowLostFocus(WindowEvent e)
- None of these
Which of the following methods is present in the CardLayout class in Java?
- removeLayoutComponent(Component c)
- removeComponent(Component c)
- maxLayoutSize(Container c)
- preferredSize(Container c)
- addLayoutComponent(Component c, Object constraints)
Which of the following methods in BlockView class determines the maximum span for a view along an axis?
- getMaximumSpanAxis(int axis)
- getMaxSpanAxis(int axis)
- getMaximumSpan(int axis)
- getMaxSpanAxis(int axis)
- None of these
Which of the following methods is not present in the Book class in Java?
- append(Printable painter, PageFormat page)
- getNumberOfPages()
- getPageFormat(int pageIndex)
- setPage(int pageIndex, Printable painter, PageFormat page)
- readPage(int PageIndex)
Which of the following methods in CardLayout class determines the minimum size for a specified panel?
- minimumSize(Container p)
- minLayoutSize(Container p)
- minimumLayoutSize(Container p)
- layoutMinSize(Container p)
- layoutMinimumSize(Container p)
Which of the following methods is not present in the Buffer class in Java?
- isReadOnly()
- limit()
- limit(int x)
- isWriteOnly()
- position()
Which of the following methods is not present in the Choice class in Java?
- getItemAtIndex(int index)
- getItem(int index)
- getSelectedIndex()
- getItemCount()
- getSelectedItem()
Which of the following methods in AbstractLayoutCache class returns the number of visible children for a row?
- getChildCount(TreePath path)
- getVisibleChildrenCount(TreePath path)
- getVisibleChildCount(TreePath path)
- getChildrenCount(TreePath path)
- getAllChildCount(TreePath path)
Which of the following methods is not present in the AbstractLayoutCache class in Java?
- isRootVisible()
- isRowHeightFixed()
- isExpanded(TreePath path)
- getRowCount()
- getRowHeight()
Which of the following methods is not present in the Container class in Java?
- getComponents()
- getCount()
- getComponentAt(Point p)
- getComponentAt(int x, int y)
- getComponent(int n)
Which of the following methods in BigInteger class returns the first integer that is prime?
- nextProbablePrimeNumber()
- nextProbablePrime()
- nextPrime()
- nextPrimeNumber()
- nextProbablePrimeInteger()
Which of the following methods is present in the Container class in Java?
- geCount()
- getMaxSize()
- getLayout()
- isVisible()
- getAllComponents()