Write a syntax to create a class named “java” and mention its constructor.
Answers
Answered by
0
Answer:
class java
{
public java()
{
System.out.println("This is the constructor");
}
}
Explanation:
Similar questions