Geeks Talk

Prepare for your Next Interview




what is object based programming?

This is a discussion on what is object based programming? within the VB.NET forums, part of the Software Development category; what is object based programming? Once in viva the examiner asked me is VB object based or object oriented? I replied Object oriented he said No SO do you guys ...


Go Back   Geeks Talk > Software Development > VB.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-21-2007
Contributing Member
 
Join Date: Feb 2007
Location: hyderabad,india
Posts: 34
Thanks: 0
Thanked 4 Times in 4 Posts
raafay is on a distinguished road
Question what is object based programming?

what is object based programming?
Once in viva the examiner asked me is VB object based or object oriented?
I replied Object oriented he said No
SO do you guys have any explanation?
Thank you.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-22-2007
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 509
Thanks: 1
Thanked 53 Times in 45 Posts
sutnarcha is on a distinguished road
Re: what is object based programming?

VB is object based and languages like C++, Java are object oriented.

I think it is because,

In VB the objects, their properties and methods are already declared and defined and the programmers/developers have to instantiate and use those objects.

In C++ or Java, the objects, their properties and methods are first designed, then declared and defined and also instantiated by the programmers/developers themselves.
__________________
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.

-sutnarcha-
Reply With Quote
  #3 (permalink)  
Old 05-22-2007
Contributing Member
 
Join Date: Feb 2007
Location: hyderabad,india
Posts: 34
Thanks: 0
Thanked 4 Times in 4 Posts
raafay is on a distinguished road
Re: what is object based programming?

Thank you, But VB comes under Object Oriented Programming Language!
Reply With Quote
  #4 (permalink)  
Old 05-22-2007
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 864
Thanks: 12
Thanked 81 Times in 65 Posts
jainbrijesh is on a distinguished road
Re: what is object based programming?

In a technical sense, the term "object-based language" may be used to describe any programming language that is based on the idea of encapsulating state and operations inside objects. Object-based languages need not support inheritance or subtyping, but those that do are also said to be object-oriented. Object-based languages that do not support inheritance or subtyping are usually not considered to be true object-oriented languages.

VB supports both objects and classes, but not inheritance, so it does not qualify as object-oriented.
__________________
Brijesh Jain
brijesh.tester@yahoo.co.in
http://softwaretestingexpertise.blogspot.com

Last edited by jainbrijesh : 05-22-2007 at 07:39 AM.
Reply With Quote
  #5 (permalink)  
Old 05-22-2007
Contributing Member
 
Join Date: Feb 2007
Location: hyderabad,india
Posts: 34
Thanks: 0
Thanked 4 Times in 4 Posts
raafay is on a distinguished road
Re: what is object based programming?

Hello Mr.Jain,

VB is Object Oriented Programming language and it does support inheritance by using intreface. And you cannot say VB is not OOP language since it does not support inheritance because Java also does not support multiple inheritance directly (but we can use multiple inheritance using interface) so will disqualify Java also?
Reply With Quote
  #6 (permalink)  
Old 06-04-2007
Junior Member
 
Join Date: Feb 2006
Posts: 8
Thanks: 0
Thanked 3 Times in 2 Posts
mef526 is on a distinguished road
Re: what is object based programming?

VB6 is object based since you cannot create new objects in it, but can use objects made from other languages in it and can inherit from them. VB.Net is object oriented.
Reply With Quote
  #7 (permalink)  
Old 03-10-2008
Junior Member
 
Join Date: Feb 2008
Location: hyderabad
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
shilu is on a distinguished road
Re: what is object based programming?

Quote:
Originally Posted by raafay View Post
what is object based programming?
Once in viva the examiner asked me is VB object based or object oriented?
I replied Object oriented he said No
SO do you guys have any explanation?
Thank you.
when an appl or any program which supports Polymorphism,Abstraction & Encapsulation is called object based.
when an appl or program supports above 3 including Inheritance is object oriented.
Reply With Quote
  #8 (permalink)  
Old 04-17-2008
Junior Member
 
Join Date: Jan 2008
Location: NJ
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Lavanyaaru is on a distinguished road
Re: what is object based programming?

The biggest change from VB to VB .NET is, VB .NET is Object-Oriented now. VB .NET now supports all the key OOP features like Inheritance, Polymorphism, Abstraction and Encapsulation. We can now create classes and objects, derive classes from other classes and so on. The major advantage of OOP is code reusability and the following

1.Emphasis on data rather than procedure
2.Programs are divided into Objects
3.Data is hidden and cannot be accessed by external functions
4.Objects can communicate with each other through functions
5.New data and functions can be easily added whenever necessary
6.Follows bottom-up approach

All the above are supported by object oriented rather than object based language.Hope this helps

Last edited by Lavanyaaru : 04-17-2008 at 12:22 PM. Reason: Added a comment
Reply With Quote
  #9 (permalink)  
Old 04-25-2008
Junior Member
 
Join Date: Apr 2008
Location: india
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
sumitjayant is on a distinguished road
Re: what is object based programming?

* To understand encapsulation and data hiding.
* To understand the notions of data abstraction and abstract data types (ADTs).
* To create Java ADTs—namely, classes.
* To be able to create and use objects.
* To be able to control access to instance variables and methods.
* To understand the use of the this reference.
* To be able to use class variables and methods.
* To appreciate the value of object orientation

Last edited by sumitjayant : 04-25-2008 at 04:42 AM.
Reply With Quote
  #10 (permalink)  
Old 08-16-2008
Junior Member
 
Join Date: Aug 2008
Location: df
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jogendra100 is on a distinguished road
Re: what is object based programmvaing?

c++,java, vb.net is a object based programming language
the bseclay object oriented progranning language a class and object
bethout class and object can not run any program
Reply With Quote
Reply

  Geeks Talk > Software Development > VB.NET


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
WinRunner not identified object , what 2 do other than virtual object wizard method. jayant_gajbhiye WinRunner 6 10-16-2007 06:23 AM
Windows based application with J2EE sumithkumara Java 0 03-30-2007 03:04 PM
maths based series raju1984 Brainteasers 9 01-12-2007 05:37 AM
Square Based Pyramid jamesravid Brainteasers 2 11-27-2006 03:39 AM
Challenges in Testing Web Based Applications Lokesh M Web Testing 0 06-10-2006 06:57 AM


All times are GMT -4. The time now is 04:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved