Search:

Type: Posts; User: jmsrajeev

Search: Search took 0.31 seconds.

  1. Replies
    13
    Views
    3,674

    JV9

    Scenario

    a. Scrollable is an interface.

    b. Writable is an interface.

    c. TextScreen is an abstract class.

    d. VideoScreen is a class that extends TextScreen and implements both Scrollable...
  2. Replies
    13
    Views
    3,674

    JV8

    a. final

    b. abstract

    c. virtual

    d. static

    Which of the keywords above are often used with polymorphic methods?
  3. Replies
    13
    Views
    3,674

    JV7

    What java.util class method is used to sort an array of beans, where the method can specify the order of sorting?

    Choice 1 Collections.sort(beans);

    Choice 2 Algorithms.quickSort(beans);...
  4. Replies
    13
    Views
    3,674

    JV6

    Which one of the following is an advantage of providing accessor methods in a class, rather than making the class's fields publicly accessible?

    Choice 1 Accessor methods can ensure data...
  5. Replies
    13
    Views
    3,674

    JV5

    Which statement about JavaBeans is NOT true?

    Choice 1 A JavaBean is a re-usable software component.

    Choice 2 A JavaBean is immutable; it cannot contain variable data.

    Choice 3 A...
  6. Replies
    13
    Views
    3,674

    JV$

    Which one of the following is a checked exception?

    Choice 1 Error

    Choice 2 NullPointerException

    Choice 3 ArithmeticException

    Choice 4 RuntimeException
  7. Replies
    13
    Views
    3,674

    JV3

    Invoking a method can represent a significant amount of overhead in a program; as such, some compilers will perform an optimization called "method inlining." This optimization will remove a method...
  8. Replies
    13
    Views
    3,674

    JavaFundamental2

    How do you store a copy of an object at the same time other threads are changing the object's properties?

    Choice 1 You do not need to do anything special since all ObjectOutputStream methods...
  9. Replies
    13
    Views
    3,674

    Java Fundamental

    Which one of the following is an advantage of providing accessor methods in a class, rather than making the class's fields publicly accessible?

    Choice 1 Accessor methods can ensure data...
Results 1 to 9 of 9