DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
Create class from string variable JAVA
String className = "Class1"; Object xyz = Class.forName(className).newInstance();
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Create
#class
#string
#variable
#JAVA
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit