Search
.Management Sciences
A. arrayName[] p = new arrayName[5];
B. arrayName p[][] = new arrayName[2][];
C. arrayName[] p [];
D. arrayName p[5];
Related Mcqs:
- Java intermediate code is known as_________________?
- A. Byte code B. First code C. Mid code D. None of above...
- After the compilation of the java source code, which file is created by the JVM ?
- A. .class B. .doc C. .java D. .cdr...
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC ); ?
- A. Prints 2.5 B. Raises an exception C. Raises an error as STATIC is used as a variable which is a keyword D. None of these...
- How many primitive data types are there in Java ?
- A. 5 B. 6 C. 7 D. 8...
Recent Comments