How will you declare mymethod so that it will throw a Exception? Select one?
A. In method declaration give throw Exception and inside the method
give throws Exception
B. In method declaration give throws Exception and inside the method
give throw Exception
C. In method declaration give throw Exception and inside the method
give throw Exception
D. In method declaration give throws Exception and inside the method give throws Exception
Ans:A
I don't really get it..why the answers is A not B?