What is meant by constructor?

Answer Posted / ravikiran(aptech mumbai)

constructor is the one which is used to pass the
initializing parameters during instantiation

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some best practices you would apply while using collection in java?

569


Difference between serialization and deserialization in java?

652


Are private methods final?

488


What is java string pool?

545


If a method is declared as protected, where may the method be accessed in java programming?

498






what is heap memory?

658


Is string is a class in java?

525


How to connect to a remote database using Applet?

2045


Which number is denoted by leading 0x or 0x in java?

564


What data type is a string?

515


Is string a class?

556


Difference between a class and an object?

582


How can you read an integer value from the keyword when the application is runtime in java? example?

621


Is set sorted in java?

519


What are different type of exceptions in java?

551