Computer Science, asked by rishikushwaha, 9 months ago

Write a syntax to create a class named “java” and mention its constructor.​

Answers

Answered by mohammads
0

Answer:

class java

{

    public java()

       {

            System.out.println("This is the constructor");

       }

}

Explanation:

Similar questions