The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Quiz Sharp #52

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Adrian Florea

Posts: 206
Nickname: adrian11
Registered: Jul, 2004

Adrian Florea is a .NET developer from Italy
Quiz Sharp #52 Posted: Oct 1, 2005 10:14 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Adrian Florea.
Original Post: Quiz Sharp #52
Feed Title: Web Log di Adrian Florea
Feed URL: /error.aspx?aspxerrorpath=/adrian/Rss.aspx
Feed Description: "You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Adrian Florea
Latest Posts From Web Log di Adrian Florea

Advertisement

Imports System
 
Class Foo
    Public Sub New()
        Console.WriteLine("Foo")
    End Sub
End Class
 
Class TestBase
    Public Sub New()
        Console.WriteLine("Base")
    End Sub
End Class
 
Class Test : Inherits TestBase
    Dim f As Foo = New Foo()
End Class
using System;
 
class Foo {
      public Foo() {
            Console.WriteLine("Foo");
      }
}
 
class TestBase {
      public TestBase() {
            Console.WriteLine("Base");
      }
}
 
class Test : TestBase {
      Foo f = new Foo();
}

Questi due snippet sembrano gemelli... E perché non lo sono?

P.S.: Non è a risposta multipla come gli altri quiz - ho fatto un'eccezione perché non mi pare che c'entri con gli altri test (agli ultimi due non avete ancora risposto! troppo strani?).

Read: Quiz Sharp #52

Topic: Gartner - Microsoft and IBM Share Similar Collaboration Goals, but Follow Different Paths Previous Topic   Next Topic Topic: Two Years in the Life of an ASP.NET Website - What Worked and What Didn't

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use