+ 5

What are the properties for static keyword, abstract, constructor?

Suggest any URL to learning about static, abstract,constructor.

6th Jul 2017, 9:06 AM
Silambarasan T
Silambarasan T - avatar
2 Respuestas
6th Jul 2017, 11:22 AM
Jojo
+ 1
static keyword means it has only one copy of the variable in memory whereas non-static or instance has multiple copies based on the number of objects created... Abstract keyword is used to have the method to be declared now and defined later by over riding. constructor is used to create and initialize objects. . it's name shud be same as class name..😊👍
12th Aug 2017, 9:39 AM
Lokesh Rajasekhar
Lokesh Rajasekhar - avatar