JAVA Constructors and Methods public class Test { }What is the prototype of the default constructor? Test(void) None of these public Test(void) Test( ) public Test( ) Test(void) None of these public Test(void) Test( ) public Test( ) ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods The implicit return type of a constructor is None of these There is no return type. A class object in which it is defined. void None of these There is no return type. A class object in which it is defined. void ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods In which area of memory, the system stores parameters and local variables whenever a method is invoked? Heap Array Stack Storage Area Heap Array Stack Storage Area ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods class A{ A(String s){} A(){}}1. class B extends A{2. B(){}3. B(String s){4. super(s);5. }6. void test(){7. // insert code here8. }9. }Which of the below code can be insert at line 7 to make clean compilation ? All of these None of these A a = new B(); A a = new B(5); A a = new A(String s); All of these None of these A a = new B(); A a = new B(5); A a = new A(String s); ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods What is Math.floor(3.6)? 4 3 4.0 3.0 4 3 4.0 3.0 ANSWER DOWNLOAD EXAMIANS APP
JAVA Constructors and Methods Which of the modifier can't be used for constructors? public private static protected public private static protected ANSWER DOWNLOAD EXAMIANS APP