programming languages Online Quiz - 346
Description: programming languages Online Quiz - 346 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
GC is a high priority thread.
Which one is faster in java ? a. for(int i = 100000; i > 0; i--) {} b. for(int i = 1; i < 100001; i++) {}
Which one is not correct a. Float.isNan(x); b. x == Float.NaN; c. Myobject .equals(float.NaN);
What will be output from the following statements: System.out.println(1+2+"3"); System.out.println("1"+2+3);
Is the following statement correct: char ch = 'd'; if(ch < 32.00){ }
.NET Framework provide platform for running .NET managed code in a virtual machine
Code that targets the CLR is referred to as managed code
CIL is high-level (machine) language, like Assembler, but is Object-oriented
CTS is a set of specifications that all languages and libraries need to follow and will ensure interoperability between languages
CLR is a rich type system built into the CTS which Implements various types (int, float, string, …)
Base Class Library is set of basic classes: Collections, I/O, Networking, Security, etc.
ADO.NET provides .NET applications with access to relational databases
Which statement is true about a method?
How do objects pass messages in Java?
Which of the following is not a legal identifier?
Which statement is true?
Which of the following primitive data types are integer types?
Which of the following lines are not valid declarations?
Which of the following expressions evaluates to true?
1.Set s = new HashSet(); 2.s.add("JAVA"); 3.s.add(new Integer(5)); Line 3 will give ClassCast Exception because Two different types of object are getting added.