public static void main(String[] args) {
what is actually
why we write code of person person = new person ()
how is different from public static class
hidden #10602322
Level 3
what is out put of code
Resolved
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Alexeiv Perez
20 April 2020, 13:47
When you do that you are just creating an Object Person person( <<variable ) = new Person (); <<< that is your constructor.
So, basically there you created an object >>> Person person = new Person();
public static void man <<<< is your main method. You will always need that to run your programs.
+1