symphonyteleca Company Category

NEPOLEAN written as OBFMPQFO and IMPOSING written as ____________

Read Solution (Total 2)

symphonyteleca Other Question

8)What will be the output of the program?

public class Test
{
public static void main(String[] args)
{
int x = 0;
assert (x > 0) ? "assertion failed" : "assertion passed" ;
System.out.println("finished");
}
}

9)Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?

A. Call by value
B. Call by reference
C. Default arguments
D. Call by pointer

10)Which of the following factors supports the statement that reusability is a desirable feature of a language?

A. It decreases the testing time.
B. It lowers the maintenance cost.
C. It reduces the compilation time.
D. Both A and B.

11)Which of the following access specifier is used as a default in a class definition?

12)what is while and do while?
a) loop statement
b) condition statement

13)i want to store value 1 to 100 which one is the best way to store ?

14)Which of the following statements is correct when a class is inherited privately?

a) Public members of the base class become protected members of derived class.
B. Public members of the base class become private members of derived class.
C. Private members of the base class become private members of derived class.
D. Public members of the base class become public members of derived class.

15)Which one is correct ?
a) Request and Analysis->Design->Coding->Testing->Release
b) Request and Analysis->Coding->Design->Testing->Release
2, 1 , 1/2 , 1/4 , ?