programming languages Online Quiz - 56
Description: programming languages Online Quiz - 56 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
public class Sample{ public static void main(String[] args){ int i=5; if(i==5) throw new ArithmeticException("i is 5"); System.out.println(i); } } Does the code compiles fine?
The following will result in which of the following, if the prize is currently "10 Euros" print 'You won $prize';
Output of the following:s/(\w)/\u$1/g;
Which of the following is a valid scalar variable name?
Code 1: Code: my @lines = grep /^hi/, @allLines; Code 2: Code: my @lines = (); foreach (@allLines) { push (@lines,$_) if (/^hi/); } What is the difference between the two snippets (Code 1 and Code 2) above?
What type of variable is INPUT?
The following will result in which of the following, if the prize is currently "10 dollars" print 'You won $prize';
Which of these is not a method of DateTime object?
Which of these is a value Type?
In Which of these types do we store the difference between two dates?
CTS is contained in –
How to supress the COPYRIGHT statement issued while compiling a particular .cs file through command line