programming languages Online Quiz - 25
Description: programming languages Online Quiz - 25 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
public class Test { public static void main(String... args) { for(int i = 2; i < 4; i++) for(int j = 2; j < 4; j++) if(i < j) assert i!=j : i; } }
What is the output for the below code ? class A { { System.out.print("b1 "); } public A() { System.out.print("b2 "); } } class B extends A { static { System.out.print("r1 "); } public B() { System.out.print("r2 "); } { System.out.print("r3 "); } static { System.out.print("r4 "); } } class C extends B { public static void main(String[] args) { System.out.print("pre "); new C(); System.out.println("post "); } }
A variable which is declared inside a method is called a________variable
If a class is using an interface....
Boxing in .Net allows the user to convert?
Different ways a method can be overloaded in C#.NET?
Which of the following is incorrect about System.Text.StringBuilder and System.String?