Computer Science, asked by 0785arzookhan, 7 months ago

write syntax for class

answer it fast !! I'll make you brainliest​

Answers

Answered by YashNayal
2

Answer:

The “class” syntax

The basic syntax is: class MyClass { // class methods constructor() { ... } method1() { ... } method2() { ... } method3() { ... } ... } Then use new MyClass() to create a new object with all the listed methods. ... A new object is created.

Explanation:

please mark my answer as brainlist

Answered by shahmeen
1

Answer:

write syntax for class

answer it fast !! I'll make you brainliest

Attachments:
Similar questions