Results 1 to 10 of 10

Thread: what is object based programming?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Contributing Member
    Join Date
    Feb 2007
    Answers
    34

    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.


  2. #2
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    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-

  3. #3
    Contributing Member
    Join Date
    Feb 2007
    Answers
    34

    Re: what is object based programming?

    Thank you, But VB comes under Object Oriented Programming Language!


  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    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.

    Last edited by jainbrijesh; 05-22-2007 at 07:39 AM.
    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  5. #5
    Contributing Member
    Join Date
    Feb 2007
    Answers
    34

    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?


  6. #6
    Junior Member
    Join Date
    Feb 2006
    Answers
    8

    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.


  7. #7
    Junior Member
    Join Date
    Feb 2008
    Answers
    6

    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.


  8. #8
    Junior Member
    Join Date
    Jan 2008
    Answers
    1

    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

  9. #9
    Junior Member
    Join Date
    Apr 2008
    Answers
    1

    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.

  10. #10
    Junior Member
    Join Date
    Aug 2008
    Answers
    1

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact