programming languages Online Quiz - 200
Description: programming languages Online Quiz - 200 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Singleton class can have?
Facilities that are provided by Runtime class are:
Which of the following statements accurately describe the use of access modifiers within a class definition?
What is the output of the following Program public class withoutmain{ static{ System.out.println("without the main method"); System.exit(0); } }
Class C { public static void main(String[] args) { int[]a1[]=new int[3][3]; //3 int a2[4]={3,4,5,6}; //4 int a2[5]; //5 } } What is the result of attempting to compile and run the program ?
class C1 { static interface I { static class C2 { } } public static void main(String a[]) { C1.I.C2 ob1=new C1.I.C2(); System.out.println("object created"); } } What is the result of attempting to compile and run the program?
What is the output of following Program class C{ static int f1(int i) { System.out.print(i + ","); return 0; } public static void main (String[] args) { int i = 0; i = i++ + f1(i); System.out.print(i); } }
Class C { public static void main(String[] args) { int[]a1[]=new int[3][3]; //3 int a2[4]={3,4,5,6}; //4 int a2[5]; //5 } } What is the result of attempting to compile and run the program ?.
Which version of Visual Studio first supported Linq for defining standard query operators
The process of applying redo log files during recovery operation is called