what is constructer?what are the type of constructer with
example.
Answer Posted / kool
A constructer has same name as class .it does not have any
data type in a program we can only have one constructer
with a class name because they can be overloaded.if we dont
create one the programe creates one for us.
public class kool{
/** constructer
public kool(){
*/
}
}
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What are the Advantages of java se 8 new features?
When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?
In hibernate what is the difference between the Session and SessionFactory?
How can I write a program that takes command line input?
How common are security breaches? : java security
What is scrollable resultset in java?
In an htm form i have a button which makes us to open another page in 15sec.how will you do that?
Explain the reason for each keyword of public static void main(string args[])?
Is jvm a compiler or an interpreter?
How can you work with permissions from your .net application? : java security
What is java web application?
How do I install eclipse?
i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com
What is a flatmap?
What is interceptor in java?