Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Ramprasad
Java decompiler
1 Answer(s)      6 years and 9 months ago
Posted in : Java Interview Questions


What is the Java decompiler?


Advertisement
View Answers

April 9, 2008 at 6:04 PM


Hi friend,

class Animal{
public String string = "mammal";
public void show(){
System.out.println("The animal is a: " + string);
}
}
class Dog extends Animal{
public String string; //same member variable name as in base class
public Dog(String string){
this.string = string;
}
public void show(){
System.out.println("The dog is a: " + string);
}
}
public class StaticBinding {
public static void main(String[] args) {
Animal doggie = new Dog("daschund");
doggie.show(); // "The dog is a: daschund" (dynamic binding)
//"The type is: mammal" (static binding)
System.out.println("The type is: " + doggie.string);
}
}
-------------

Hope it will help u.
amar


Related Tutorials/Questions & Answers:
Jadclipse
; JadClipse is a plug-in that seamlessly integrates Jad (the fast Java decompiler) with Eclipse. Normally, when opening a class file the Class File... by decompiling the corresponding class file in the background using Jad. Normal Java
code protection - Java Beginners
I want to protect my java class and jar file from decompiler software, I think that what you know what is decompiler; please please help me i want to protect my java class and jar file
Advertisements
Java source file - Java Beginners
, You can use Java Decompiler tools like "Cavaj" to decompile the .class file...Java source file  i create a file.java just now but mistakenly i delete the source file. Now i have only the class file. Is there any chance for me
java - Java Interview Questions
Java decompiler  What is the Java decompiler?  Hi friend, class Animal{ public String string = "mammal"; public void show(){ System.out.println("The animal is a: " + string); } } class Dog extends
Marvellous chance to learn java from the Java Experts
concepts JDK tools like javac, java, Using Java Decompiler... Marvellous chance to learn java from the Java Experts A foundation course on Java technology which
java
java  diff bt core java and java
java
java  what is java
Java
Java   Whether Java is pure object oriented Language
JAVA
JAVA  how the name came for java language as "JAVA
java
java  different between java & core java
java
java  explain technologies are used in java now days and structure java
java
java   why iterator in java if we for loop
java
java  what is java reflection
java
java  is java open source
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
Java
Java  how to draw class diagrams in java
java
java  explain object oriented concept in java
Java
Java   Whether Java is Programming Language or it is SOftware
java
java  what are JAVA applications development tools
java
java  why to set classpath in java
java
java  give a simple example for inheritance in java
java
java  Does java allows multiline comments
java
java   What is ?static? keyword
java
java  write a java program using filenotfoundexception
java
java   difference between class and interface
java
java  why multiple inheritance is not possible in java
java
java  is java purely object oriented language
java
java  how use java method
java
java  send me java interview questions
java
java  write a program in java to acess the email
Advertisements
 

 

 

DMCA.com