Skip to main content

Posts

Showing posts from July 10, 2018

Object Oriented Programming in VB.NET

1. Create shape class as abstract class having area function.Create rectangle, triangle, square class based on this class in VB.NET. 2. Write a program to create class Person. Make at least five properties and one method “show detail” of this class. Now inherit class Student and Faculty from class Person and override method “show detail”. Create objects of Student and Faculty class and call show detail function for both objects to show details in appropriate text boxes. 3. Write a program to implement the class Employee. Show Constructor Overloading in VB.NET. 4. Write a program to implement the class Book and Show Method Overloading in VB.NET. 5. Create an Invoice application in which user enters the customer name, description, unit price and quantity for the item ordered, then clicks the add item button. The application calculates the order total by multiplying the unit price by the quantity. And calculates a discount based on the order total. The user can then add another item