programming languages Online Quiz - 347
Description: programming languages Online Quiz - 347 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Which of the following when turned on do not allow incompatible type conversion?
In JAVA 1.5, can we have two overridden methods with different return types?
Serializable interface has two methods which MUST overridden when a class implemnts Serializable interface.
List mylist = new ArrayList(); mylist.add(5); If you compile this lines in JAVA 1.5 , it will give compilation error.
For Arrays & Collection, Sort order & search order need not to be SAME.
What will be the output?public static void main(String[] args) { for (int i=0;i<= 10;i++){if( i>6) break;}System.out.println(i);}
What will be the output?public static void main(String[] args) { for (int i=0;i<= 10;i++) { if( i>6) break; }System.out.println(i); }
For Arrays & Collection, Sort order & search order need not to be SAME.
List mylist = new ArrayList(); mylist.add(5); If you compile this lines in JAVA 1.5 , it will give compilation error.
Serializable interface has two methods which MUST be overridden when a class implemnts Serializable interface.
Which are the following are valid datatypes in C?
The .NET Framework class library is divided into two parts: the Basic Class Library and the Framework Class Library.
.NET Framework 1.0 released on 2001-02-13
.NET Framework 2.0 Released with Visual Studio 2005, Microsoft SQL Server 2005, and BizTalk 2005.
.NET Framework 3.0, formerly called WinFX.
Version 3.5 of the .NET Framework was released on 9 November 2007.
What will be the value of Point p after methods in a and b if the value before method call is (700,800). static void changePoint ( Point p) { p.x = 100; p.y=200; } static void changePoint(Point p) { p=new Point(100,200); }
Which operation is faster?