What is program used to compile the COBOL program?
IGYWCL
IEWL
IEBCOMPILE
IGYCRCTL
What is the maximum number of DD stmt a step can have?
100
15
300
255
STEP1 EXEC PGM=P1 STEP2 EXEC PGM=P2,COND=EVEN STEP3 EXEC PGM=P3,COND=((8,LE,STEP1),ONLY) If the condition code of the step1 is 4 and the step2 was abended then which statement is correct.
step1, step2 and step3 will execute
only step1 and step3 will execute
only step1 and step2 will execute
only step1 will execute
If DISP=(,CATLG) which is the correct one?
DISP=NEW,CATLG,CATLG
DISP=OLD,DELETE,CATLG
DISP=NEW,CATLG,DELETE
DISP=OLD,CATLG,CATLG
What gets printed when the following program is compiled and run. Select the one correct answer. class test { public static void main(String args[]) { int i,j,k,l=0; k = l++; j = ++k; i = j++; System.out.println(i); } }
0
1
2
3
Which of the following are Java modifiers?
public
private
friendly
transient
Which one does not have a ValueOf(String) method?
integer
boolean
character
long
Why might you define a method as native?
to get to access hardware that Java does not know about
to define a new data type such as an unsigned integer
to write optimised code for performance in a language such as C/C++
to overcome the limitation of the private scope of the method
Which option most fully describes will happen when you attempt to compile and run the following code public class MyAr{ public static void main(String argv[]) { MyAr m = new MyAr(); m.amethod(); } public void amethod(){ static int i; System.out.println(i); } }
Compilation and output of the value 0
Compile time error because i has not been initialized
Compilation and output of null
Compile time error
Which one does not extend java.lang.Number?
short