I have this ClassParent class
class ClassParent<T> { public void set(T t) { //setter code } } Then I have this ClassChild extending the ClassParent
class ClassChild extend ClassParent<String> { public void set(String str) { //setter code } } Instantiating a new instance of ClassChild class.
ClassParent<String> child = new ClassChild(); Clearly, to preserve polyporphism, java compiler will create a bridge method in the ClassChild class. My question is, after I compiled the code using javac command, I want to see how the compiled code looks like, but I don't know how to do it. I opened the .class file using NotePad++, but I just saw gibberish. How do I view the compiled code is my question. I am new to programming in general. Thank you