Differentiate constructor and a method and how are it be
used?
Answer Posted / janet
Constructor will be automatically invoked when an object is
created whereas method has to be called explicitly.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is sorting in java?
Explain about method local inner classes or local inner classes in java?
What is java and its types?
What are 4 pillers of object orinted programming?
In the below example, how many string objects are created?
How is tree Mirroring implemented?
What is the difference between the size and capacity of a vector?
What is the difference between delete and delete[]
Define nashorn in java8.
Is arraylist sorted in java?
What is the functionability stubs and skeletons?
Which list is sorted in java?
What are the four pillars of java?
How do you add an element to an arraylist in java?
What are some examples of variable costs?