programming languages Online Quiz - 206
Description: programming languages Online Quiz - 206 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Attempted
0/20
Correct 0
Score 0
‹
›
Given: class Feline { public static void main(String[] args) { Long x = 42L; Long y = 44L; System.out.print(" " + 7 + 2 + " "); System.out.print(foo() + x + 5 + " "); System.out.println(x + y + foo()); } static String foo() { return "foo"; } } What is the result?
%let x=5; %let y=10; %let a=%nrstr(%eval(&x + &y)); What is the output of the two put statement %put QCMPRES: %qcmpres(&a); %put CMPRES: %cmpres(&a);
data test ; x="Math A English B Physics A"; y=compress(x,'ABCD','k'); put y; run; The value of 'y' written in log is :