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 is jersey in java?
What is exe file in java?
What is mime in java?
Can we extract main method from another class?
what is the package for freshers in valuelabs.
How do I know if I have jre or jdk?
How do I create an executable jar file?
How can you work with permissions from your .net application? : java security
What is jdk jre and jvm?
How do I enable java in google chrome?
how can we create the ui using netbeans,having the code?
What are jpa annotations?
what are the different phases in delivering the project during development and maintenance?
What is data encapsulation?
How does jpa repository work?