Search:

Type: Posts; User: jmsrajeev

Search: Search took 0.08 seconds.

  1. Replies
    13
    Views
    3,700

    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,700

    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,700

    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,700

    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,700

    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,700

    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,700

    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
    2
    Views
    1,562

    JavaFundamental3

    a. Class loading

    b. Class verification

    c. Garbage collection

    d. Code execution

    e. Source code generation
  9. Replies
    13
    Views
    3,700

    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...
  10. Replies
    13
    Views
    3,700

    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...
  11. Thread: Java

    by jmsrajeev
    Replies
    5
    Views
    1,362

    Re: Java

    I think the answer should be 4 i.e. choice 1, since its taking 4 command parameter. Any suggestions?
  12. Thread: Java

    by jmsrajeev
    Replies
    5
    Views
    1,362

    Java

    [redacted]
  13. Replies
    1
    Views
    6,872

    Java Fundamental questions

    I found some good questins from BrainBench. It would be great if you could discuss and answer solutions of these questions.




    Sample Code
    synchronized void move() throws...
Results 1 to 13 of 13