Answer Posted / sampath
there is only one perfect oop lnguage in the world.
that is smalltalk.
why not java............
because we can access the variable with out using object.
how..........???????
answer is
if a variable declare in main function we can call it with
out using object. may be u can argue with me even variable
declare in class. the perfect oops supports any operation
only with objects
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use polymorphism in oops?
Can you inherit a private class?
What are the 4 pillars of oop?
What is inheritance and how many types of inheritance?
Explain virtual inheritance?
Why is polymorphism important in oop?
What are oops functions?
Do you know about multiple inheritance?
What is a class and object?
What is oops?what is its use in software engineering?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is meant by oops concept?
What is inheritance write a program to show use of inheritance?
#include
How to hide the base class functionality in Inheritance?