Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

PHP .

NET Java Phone Apps Web Designers Virtual Assistants Phone Support Agents Web Hosting Specialists System Administrators Linux Windows Copywriters Data Entry Clerks Affiliate Program Question 25 Assuming that we have not provided any arguments on the command line, the first element of the String array in the main method contains: the name of the program null empty the inputs for the program

Question 26 Which statement(s) declares an array of string objects: String[] s; String []s; String[ s]; String s[]; 1, 2 & 3 1, 2 & 4 1, 3 & 4 1, 2, 3 & 4 None of the above

Which of the following is not a Wrapper class? String Integer Boolean Character All of the above Which of the following are methods of the Math class? Absolute() log() cosine() sine() All of the above None of the above

When two or more objects are added as listeners for the same event, which listen er is invoked first to handle the event? The first object that was added as listener. The last object that was added as listener. There is no way to determine which listener will be invoked first. It is impossible to have more than one listener for a given event.

What is the name of the method used to schedule a thread for execution? sleep(); init(); start(); run(); resume(); if (a != null && a.length() > 0) { ..} What will happen if we replace && with &? Logic Error Null Pointer Exception There is no output All of the above None of the above

There are two classes Class A and Class B. If Class A wants to inform Class B so me important information it uses which of the following method(s): notify(), notifyAll(), wait() notify(), notifyAll() notifyAll(), wait() None of the above

Which of the following statements are true? Java uses a time-slicing scheduling system to determine which thread to execute. Java uses a pre-emptive, co operative system to determine which thread will execut e. The scheduling in Java is platform dependent, hence it will vary from one implem entation to another. To determine which thread has to execute set the priority code of the thread. 1 & 2 2 & 3 3 & 4 1, 3 & 4 All of the above None of the abov

Choose the correct HTML to left-align the content inside a table cell <td leftalign>

<tdleft> <td valign="left"> <td> <td left>

What is the correct HTML tag for inserting a line break? <lb> <break> <newline> \n

The pure and simple truth is rarely pure and never _______ . Complete Accurate Complex Simple Wise

A fish has a head 9 units long. The tail is equal to the size of the head plus o ne half the size of the body. The body is the size of the head plus the tail. Ho w long is the fish? 27 units 54 units 63 units 72 units 81 units

cynic is one who knows price of evrythng bt value of nothing

Continue the pattern: B G D L F Q ____ans h

You might also like