what is difference between class and object?
Answer Posted / patel hemangi baldevbhai
class is collection of object.
ex:
|ob1|ob2|ob3|
object is collection of data member & member function.
ex:
| data | member |
| member | function |
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain about exception propagation?
Which java ide is used the most?
What is stored procedure. How do you create stored procedure ?
What does indexof mean?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What is the covariant return type?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What does indexof return in java?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
how we can make a write-only class in java?
How can I become a good programmer?
What is the escape character in java?
Can a abstract class be defined without any abstract methods?
Why generics are used in java?
What is instance synchronization?