Which of these is a legal definition of a method named gkindiaonline assuming it throws IOException, and returns void. Also assume that the method does not take any arguments. Select the one correct
1.gkindiaonline() throw IOException{}
2.void gkindiaonline() throw IOException{}
3.void gkindiaonline() throws IOException{}
4.void gkindiaonline(void) throws IOException{}
Posted Date:-2021-10-25 05:21:08