Using a class
Using only Functions
Using only Variables
None of these
Message
Variables
Numbers
Data
An object identifier
A method name
Arguments
Data Members
One
Two
Three
Any number
Object
Class
Instance
State
Behaviour
Identity
Modifiers
Class name
Body
new
for
while
int
Method
Data members
Both a and b
ob.show( )
ob.show
show( ).ob
Library book=new Library;
book =new Library();
Library() book=new Library();
Library book=new Library();
It has the same name as the class.
It has no return-type
It is usually used for initialisation
It can be invoked using an object like any other member function
Number
number
construct
Number_contruct
Parameterised constructor
Non-parameterised constructor
Parameter list
Return type
public
private
protected
default
Copy constructor
Default constructor
Overloaded constructor
Void
Int
Array
Constructor function no return any value
Its name is plural of class name
Its name has * symbol before it
Its name is same as of class name
Its name has # symbol before it
Byte
Long
Float