×
Login Or SignUp
Privacy Policy
Terms Of Service
freetests4u.com
Online Knowledge Sharing Platform
Login/SignUp
freetests4u.com
Blogs
Mock Tests
Videos
Jobs
56 .
Argument passed to a program at run time is stored in __________
A.
string array passed to parameter of main() method
B.
Integer array passed to parameter of main() method
C.
object array passed to parameter of main() method
D.
string array passed to parameter of public class constructor.
View Answer
Ans: string array passed to parameter of main() method
57 .
Java programs are
A.
Platform dependent
B.
Interpreter dependent
C.
Platform Independent
D.
Interpreter Independent
View Answer
Ans: Platform Independent
58 .
Which is not valid statement based on given code ?
Class A{ }
Class B extends A{ }
A.
A a = new A( );
B.
B b = new B( );
C.
A a = new B( );
D.
B b = new A( );
View Answer
Ans: B b = new A( );
59 .
Which notation is used for newline in java ?
A.
B.
C.
D.
u
View Answer
Ans:
60 .
Which operator is used to check object type at run time ?
A.
ternary operator
B.
instance of operator
C.
type operator
D.
length operator
View Answer
Ans: instance of operator
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17