beingtopper.jkp@gmail.com
+91-8700702530
Free Demo

Being Topper

  • About Us
  • Knowledge Base
  • Modules
  • Branches
    • Ajmer
    • Tilak Nagar
    • Noida
    • Chandigarh
    • Mumbai
  • Contact Us

Being Topper

  • About Us
  • Knowledge Base
  • Modules
  • Branches
    • Ajmer
    • Tilak Nagar
    • Noida
    • Chandigarh
    • Mumbai
  • Contact Us
  • About Us
  • Knowledge Base
  • Modules
  • Branches
    • Ajmer
    • Tilak Nagar
    • Noida
    • Chandigarh
    • Mumbai
  • Contact Us

Being Topper

  • About Us
  • Knowledge Base
  • Modules
  • Branches
    • Ajmer
    • Tilak Nagar
    • Noida
    • Chandigarh
    • Mumbai
  • Contact Us
BCA NOTESVB.Net progrmas

Program in VB.Net to build a class which implements an interface

Being Topper 17/10/2014 0 Comments

Que : Write a program in VB.Net to build a class which implements an interface

Ans:

Imports System.Console

 

Interface inf1

Sub show()

Sub disp()

End Interface

 

Class class1 : Implements inf1

 

Public Sub disp() Implements inf1.disp

WriteLine("Disp of class 1")

End Sub

 

Public Sub show() Implements inf1.show

WriteLine("show of Class 1")

End Sub

End Class

 

 

Module Module1

Sub Main()

Dim obj As class1 = New class1()

obj.disp()

obj.show()

 

End Sub

 

End Module

OUTPUT :

 

class and interference class in vb.net vb.net vbscript
AboutBeing Topper
In Socials:
PrevDemonstrate Polymorphism in Vb.net through Constructor overloading.17/10/2014
Write a program to demonstrate Constructors and Destructors in VB.net.17/10/2014Next

Related Posts

Algorithm Design and analysis ProgramsB.tech notesBCA NOTESDeadlockInformation technologyJava ProgramsPrograms/Algorithm

Java program on Deadlock

Before Checking Deadlock Program in java Lets Understand  the meaning of Deadlock in...

Being Topper 17/03/2014
AppletB.tech notesBCA NOTESInformation technologyJava ProgramsPrograms/Algorithm

Example of an applet program in java

Introduction to An Applet program in Java Before Jumping Straight to Writing an Applet...

Being Topper 18/02/2014
Categories
Recent Posts
  • Best Email Marketing Software and Services
  • How to Apply Adsense on YouTube
  • Complete Guide to Writing a Newsletter !
  • Benefits of Creating Email List for small Businesses | Digital Marketing
  • Create Account or Get Email Alerts When New Employees Join a Company

Copyright © 2021 Being Topper ® . All Rights Reserved