Search:

Type: Posts; User: jmsrajeev

Search: Search took 0.35 seconds.

  1. Replies
    13
    Views
    1,076

    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
    1,076

    JV8

    a. final

    b. abstract

    c. virtual

    d. static

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

    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
    1,076

    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
    1,076

    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
    1,076

    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
    1,076

    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
    318

    JavaFundamental3

    a. Class loading

    b. Class verification

    c. Garbage collection

    d. Code execution

    e. Source code generation
  9. Replies
    13
    Views
    1,076

    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
    1,076

    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
    347

    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
    347

    Java

    [redacted]
  13. Replies
    1
    Views
    1,638

    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