5 Matching Annotations
  1. Oct 2022
    1. String...args: It allows the method to accept zero or multiple arguments. There should be exactly three dots between String and array; otherwise, it gives an error.

      Simlar to String args[]

    2. JVM executes the static block, then it executes static methods, and then it creates the object needed by the program. Finally, it executes the instance methods.

      Inside class first Static block is excuted then Static method