Accessibility, Visibility and Transparency

Posted by: IKVM.NET Weblog, on 19 Dec 2011 | View original | Bookmarked: 0 time(s)

There are a couple of subtle differences between the JVM and CLR with respect to member accessibility. For example, the JVM will allow you to access public members in non-public base classes: package p1; class Base { public int foo; } public class Derived extends Base { } package p2; class Test { public static void main(String[] args) { p1.Derived d = new p1.Derived(); d.foo = 42; } } If you compile...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 271 | Hits: 5

Similar Posts

  • Blend, VS, Events and C# more
  • Office to Include "Save As PDF" Option more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD