programming languages Online Quiz - 95
Description: programming languages Online Quiz - 95 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
5) Assume that in the current directory test.txt file is already exist. What will happen when you execute the following code? import java.io.*; class Test { public static void main(String args[]) { try { File file = new File("test.txt"); file.createNewFile(); } catch (IOException ex) { ex.printStackTrace(); } } }
6) Select all the incorrect options:
7) How will you declare a timer variable that will be accessed by multiple threads very frequently?
8) How will you remove duplicate element from a List?
9) Abstract class can be initiated directly ?
10) Does a class inherit the constructors of its superclass?
Which Feature is introduced in .net 3.5
Hibernate is usually introduced in
Which tool is used to build .net 1.1 solutions from command line
Which is not true for NAnt
Which is not true for Msbuild
which is not true for WCF
what is difference between static block and static method
which class is first called for all java class
java doesnot support pass by referrence only pass by value
Is it possible to extend the java.lang.String class?
java doesnt supports global variables
main() method is declared as a static method so that it can be invoked without having to create an instance of the corresponding class.
what are the types of methods for object class
what are the types of methods for object class