programming languages Online Quiz - 307
Description: programming languages Online Quiz - 307 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
class B { public static void main (String args[]) { Double a = new Double(0xFFFF); byte b = a.byteValue(); short c = a.shortValue(); int e = a.intValue(); long f = a.longValue(); float g = a.floatValue(); double h = a.doubleValue(); System.out.print(b+","+c+","+ (e+f+g+h == 4 * 0xFFFF)); }} What is the result of attempting to compile and run the program?
class C { public static void main(String[] args) { Boolean b1 = Boolean.valueOf(true); Boolean b2 = Boolean.valueOf(true); Boolean b3 = Boolean.valueOf("TrUe"); Boolean b4 = Boolean.valueOf("tRuE"); System.out.print((b1==b2) + ","); System.out.print((b1.booleanValue()==b2.booleanValue()) + ","); System.out.println(b3.equals(b4)); }} What is the result of attempting to compile and run the program?
class D { static boolean m(double v) { return(v != v == Double.isNaN(v)); } public static void main (String args[]) { double d1 = Double.NaN; double d2 = Double.POSITIVE_INFINITY; double d3 = Double.MAX_VALUE; System.out.print(m(d1) + "," + m(d2) + "," + m(d3)); }} What is the result of attempting to compile and run the program?
Who Led The C# Development Team?
Multiple Inheritance Is Supported In C#?
Sub-queries can be nested in…
Documentation System Of C# Is Similar To ?
What is a view?
What is a database cursor?
We can use both HAVING and WHERE SQL clauses in one SQL statement.
What is a foreign key?
What does ACID stand for?
What does the term 'locking' refer to?
The COALESCE function always produces integer results.
Which Organisations Co-sponsored The Submission Of Specifications For C#?
There are two syntax options for the CASE statement but they both provide the exact same functionality.
There is no way to know ahead of time if you will get a Cartesian product for an answer result.
Which of the following functions would you need to solve the question below: Show sales figures for March incremented daily with a final total.
We’ve just been handed an ad-hoc request for information which will require us to run a bunch of queries against a summary of last year's sales figures. What is the best choice for this situation?
The boss says he doesn’t care if it’s extra work. He wants that information at the end of this week and if he likes it he’s going to want it every week. What is the best choice for this situation?