Skip to content

Varaprasadreddy1/Exception-Handling-ClassNotFoundException

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

# Exception-Handling-ClassNotFoundException
// Java program to demonstrate ClassNotFoundException 
public class ClassNotFoundException_Demo 
{ 
	public static void main(String[] args) { 
		try{ 
			Class.forName("Class1"); // Class1 is not defined 
		} 
		catch(ClassNotFoundException e){ 
			System.out.println(e); 
			System.out.println("Class Not Found..."); 
		} 
	} 
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published