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
How does linkedlist work in java?
How java is similar to c?
How java enabled high performance?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is the use of arrays tostring () in java?
Can we override compareto method?
Which programming language is most secure?
What is javac used for?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
define the terminology association.
What are the 5 types of research methods?
What is the difference between class & structure?
Explain jdk, jre and jvm?
What is object data type?
What is the applet security manager, and what does it provide?