Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement
HR
Current affairs
Engineering
MCA
MBA
Online Test
Videos
Login
Online Practice Test
>
vb.net
« Previous
Next »
If no access modifier is specified for a class, it is considered ____________
Options
- Public
- Private
- Friend
- Protected
CORRECT ANSWER : Public
Discussion Board
answer is right
the given answer is right. By default classes are public or internal but the member of class is private
Adnan 06-24-2015 04:38 AM
If no access modifier is specified for a class, it is considered _____________
The answer is given as Public. Shalem Raju added on 08-06-2014 that the default modifier for a class is Private. According to MSDN the default access for a class is Friend.
http://msdn.microsoft.com/en-us/library/08w05ey2.aspx - "Friend is the default access level of an interface, a module, a class or a structure"
Mary Kaye Rios 09-14-2014 02:03 PM
If no access modifier is specified for a class, it is considered as ?
Answer is given as Public which is wrong. Default Access modifier for a class is Private.
Default Access modifier for Structure is Public.
Thank you
Shalem Raju 08-6-2014 04:19 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
ASP.NET (41)
ASP.NET (16)
ASP.NET (16)
ASP.NET for Freshers (19)
ASP.NET for Experienced (19)
ASP.NET (20)
ASP.NET (20)
ASP.NET (25)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
Dot.Net (100)
.NET Framework (26)
.NET Caching (7)
.NET Remoting and webservices (10)
.NET Security (11)
ADO.NET (10)
C#.NET (25)
VB.NET (33)
DOT.NET (10)
C#.NET freshers (20)
C#.NET freshers (20)
C#.NET experienced (20)
C#.NET (25)
C#.NET (20)
Sharepoint (20)
Sharepoint 2007 (15)
WCF (50)
WPF (45)
Advertisement
▲