List mylist = new ArrayList(); mylist.add(5); If you compile this lines in JAVA 1.5 , it will give compilation error.
True
False
Serializable interface has two methods which MUST be overridden when a class implemnts Serializable interface.
Which are the following are valid datatypes in C?
boolean
int
long
String
The .NET Framework class library is divided into two parts: the Basic Class Library and the Framework Class Library.
The GC runs only when a certain amount of memory has been used or there is enough pressure for memory on the system
.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); }
a(100, 200), b(100, 200)
a(100, 200), b(700, 800)
a(700, 800), b(100, 200)
a(700, 800), b(700, 800)