Explore BrainMass
Share

Explore BrainMass

    Java Questions

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I need help with this question:
    Based on the Hou article, what is the difference between the goto instruction in Java and the Java bytecode instruction set? Explain one discussed repetition structure.

    Thank you

    © BrainMass Inc. brainmass.com October 10, 2019, 12:43 am ad1c9bdddf
    https://brainmass.com/computer-science/control-structures/java-questions-goto-instructions-303329

    Attachments

    Solution Preview

    The Java language does not have a goto statement. However, there is a goto instruction in the Java bytecode instruction set. The goto instruction at the Java bytecode instruction set is used to replace control flow functions in the program, like for loops and while loops.

    Since goto in Java bytecode can be decompiled to determine the control flow of the program, an obfuscation method known as the replacing goto obfuscation is done. Obfuscation is one of the ways against the reverse engineering of Java class files. Obfuscation is the ...

    Solution Summary

    This posting contains answers to the given questions.

    $2.19