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 is there no multiple inheritance?
How Do you Code Composition and Aggregation in C++ ?
Which type does string inherit from?
Why is abstraction used?
Explain the advantages of inheritance.
Can a varargs method be overloaded?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Can we define a class within the interface?
What are different oops concepts?
What is the difference between a constructor and a destructor?
What is overriding in oops?
Can destructor be overloaded?
Why do we need oop?
What is the real life example of polymorphism?
What are the data types in oop?