A simple Lucky draw Program
Here I’m going to show a simple program which picks random 6 character and assigns the point for that code no. If it consists vowel… Read More »A simple Lucky draw Program
Here I’m going to show a simple program which picks random 6 character and assigns the point for that code no. If it consists vowel… Read More »A simple Lucky draw Program
Probably we used to declare the method and class as a public .
But the there is also the classes where there is no any public
or any private .
We can make two or many classes in a single class file.
* But when declaring numerous class the class file must contain
at least one public class whose class must match to class file
name.
Read More »A Public Vs. Nonpublic Classes
Here we are going to start a exception handler of handling the occurance of error.
To start the exception we must know a few info about the try{} catch()
and finally{}
.
Try{}
This try helps is to try any operation and if there appears any error then it directly goes to the catch()
method to check either the error matches with the exception defined at catch(). If no any catch is found then it directly goes to finally{}
method for end of try{}
method.