Computer Science, asked by Gouravv, 1 year ago

what converts Java source code to bytecode

Answers

Answered by choudhary21
1
ʜᴇʏ ɢᴏᴏᴅ ᴍᴏʀɴɪɴɢ ᴅᴇᴀʀ.......


ᴄᴏᴍᴘɪʟᴀᴛɪᴏɴ: ᴀᴛ ᴄᴏᴍᴘɪʟᴀᴛɪᴏɴ ᴛɪᴍᴇ,ᴊᴀᴠᴀ ғɪʟᴇ ɪs ᴄᴏᴍᴘɪʟᴇᴅ ʙʏ ᴊᴀᴠᴀ ᴄᴏᴍᴘɪʟᴇʀ ( ɪᴛ ᴅᴏᴇs ɴᴏᴛ ɪɴᴛᴇʀᴀᴄᴛ ᴡɪᴛʜ ᴛʜᴇ ᴏs) ᴀɴᴅᴄᴏɴᴠᴇʀᴛs ᴛʜᴇ ᴊᴀᴠᴀ ᴄᴏᴅᴇ ɪɴᴛᴏ ʙʏᴛᴇ ᴄᴏᴅᴇ.

ᴄʟᴀss ʟᴏᴀᴅᴇʀ: ɪᴛ ɪs ᴛʜᴇ sᴜʙ sʏsᴛᴇᴍ ᴏғ ᴊᴠᴍ ᴛʜᴀᴛ ɪs ᴜsᴇᴅ ᴛᴏ ʟᴏᴀᴅ ᴄʟᴀss ғɪʟᴇs.
Answered by SohamKundu012
0

JVM converts .

Bytecode is a set of instructions that are understood by the JVM .

JVM is an abstract machine designed to be implemented on top of existing processors .

It helps to convert the given code in JAVA to bytecode and then we can intrepret the code for a given platform by using an interpreter .

This interpreter is called JVM .

Now the Bytecode is independent of hardware .

Similar questions