- 1

Explain Adding methods in java

Methods

28th Jul 2022, 4:18 PM
Narasimharao Narasimharao
3 Antworten
+ 1
JavaScript is not the same as Java. Did you mean JavaScript? If so see this. Brief explanation https://www.w3schools.com/js/js_object_methods.asp Detailed explanation https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects#defining_methods
28th Jul 2022, 7:42 PM
Chris Coder
Chris Coder - avatar
+ 1
class Car {} class Car2 extends Car { void newMethod() {} }
29th Jul 2022, 12:28 AM
zemiak
0
Adding methods?
28th Jul 2022, 4:40 PM
A͢J
A͢J - avatar