Is class an Object? Is object a class?

Answer Posted / anum abbas

A class is just a template that is used to create the
objects and to define its behaviours.

But object is an instance of a class.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a nested interface?

757


What's the order of call of constructors in inheritiance?

758


What is super keyword?

717


Which OOPS concept exposes only the necessary information to the calling functions?

962


Can a function be overloaded based on return types?

706


Does PowerShell support OOPs?

772


Can constructors be parameterized?

747


What is difference between encapsulation and abstraction?

739


Explain about multiple inheritance?

824


What is the difference between function overloading and over riding?

760


What is the default access specifier in a class definition?

742


Classes and structs support inheritance. Is this statement true or false?

749


Define exceptions?

694


What is the default access modifier in a class?

765


What are the rules to define a functional interface?

729