+ 5
What are the properties for static keyword, abstract, constructor?
Suggest any URL to learning about static, abstract,constructor.
2 Antworten
+ 1
I've learnt many things about Java and C++
https://www3.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html
+ 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..😊👍