Q. Choose the correct way of creating an object of the below class.
Code:
class Table
{
Table(){System.out.println("Table Created");}
}
β
Correct Answer: (B)
Table t = new Table();