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
Is java singleton thread safe?
how can we create the ui using netbeans,having the code?
What is a java proxy?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
What is map and flatmap?
What is the use of jprofiler?
What is dialect in java?
How do I run a project in eclipse?
Is it correct to say that using parentheses can only change?
What is adoptopenjdk?
What is orm in java?
What does el mean in java?
What is the front end for java?
Do I need both jdk and jre?
What is crud operations in java?