what is difference between class and object?
Answer Posted / zishan shaukat
I think class is a room full of tables and chairs with n
number of students sitting inside it and a teacher teaching
them something on the blackboard.
Wheras individual commodities like table ,chair blackboard
chalk pen and paper are objects.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the method to expand and collapse nodes in a jtree?
Is java owned by oracle?
What is the default size of load factor in hashing based collection?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is boolean used for?
Does java trim remove newline?
What is difference between hashset and hashmap in java?
What is the protected method modifier?
Break statement can be used as labels in java?
What is dot operator?
Can an interface have a class?
How will you add panel to a frame?
Explain about assignment statement?
Is map ordered in java?
Can a static method be overridden in java?