rajkamal


{ City } hyderabad
< Country > india
* Profession * jr programmer
User No # 37431
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 12
Users Marked my Answers as Wrong # 0
Questions / { rajkamal }
Questions Answers Category Views Company eMail




Answers / { rajkamal }

Question { 7460 }

How can you overload a method?


Answer

Method Overload can be

1.Same Method Names with Different parameter Types
2.Same Method Names with Different No. Of Arguments

Is This Answer Correct ?    1 Yes 0 No

Question { 6122 }

How?s method overriding different from overloading?


Answer

Method Overloading is :

using the same method name for different Purpose.

Method Overriding is :

Adding the Functionality to existing method Header.
Here We providing Method Defination.

Is This Answer Correct ?    3 Yes 0 No


Question { Wipro, 11827 }

Explain constructor.


Answer

Constuctor is a Method/Fuction

- Having Same Name of that Class(which it belongs to).
- which doesn't have any Return Type.
- and Get Executed Automatically when ever Object is
Created for that class.

Mostly Constuctor is Used for Initialization of Objects.

Is This Answer Correct ?    6 Yes 0 No

Question { Digital GlobalSoft, 5114 }

What is abstract class ?


Answer

Abstract class is a class,Which contains abstract methods
as well as Normal methods in it.

Abstract method is a method,Which are having only Method
header no Method Body (i.e No Defination).

These Abstract Methods should Override in Sub Classes.

Abstract Class is Not Instancible (i.e we can't create
Object for that class),why Because Abstract class is not
fully Defined.

Is This Answer Correct ?    2 Yes 0 No