what converts Java source code to bytecode
Answers
Answered by
1
ʜᴇʏ ɢᴏᴏᴅ ᴍᴏʀɴɪɴɢ ᴅᴇᴀʀ.......
ᴄᴏᴍᴘɪʟᴀᴛɪᴏɴ: ᴀᴛ ᴄᴏᴍᴘɪʟᴀᴛɪᴏɴ ᴛɪᴍᴇ,ᴊᴀᴠᴀ ғɪʟᴇ ɪs ᴄᴏᴍᴘɪʟᴇᴅ ʙʏ ᴊᴀᴠᴀ ᴄᴏᴍᴘɪʟᴇʀ ( ɪᴛ ᴅᴏᴇs ɴᴏᴛ ɪɴᴛᴇʀᴀᴄᴛ ᴡɪᴛʜ ᴛʜᴇ ᴏs) ᴀɴᴅᴄᴏɴᴠᴇʀᴛs ᴛʜᴇ ᴊᴀᴠᴀ ᴄᴏᴅᴇ ɪɴᴛᴏ ʙʏᴛᴇ ᴄᴏᴅᴇ.
ᴄʟᴀss ʟᴏᴀᴅᴇʀ: ɪᴛ ɪs ᴛʜᴇ sᴜʙ sʏsᴛᴇᴍ ᴏғ ᴊᴠᴍ ᴛʜᴀᴛ ɪs ᴜsᴇᴅ ᴛᴏ ʟᴏᴀᴅ ᴄʟᴀss ғɪʟᴇs.
ᴄᴏᴍᴘɪʟᴀᴛɪᴏɴ: ᴀᴛ ᴄᴏᴍᴘɪʟᴀᴛɪᴏɴ ᴛɪᴍᴇ,ᴊᴀᴠᴀ ғɪʟᴇ ɪs ᴄᴏᴍᴘɪʟᴇᴅ ʙʏ ᴊᴀᴠᴀ ᴄᴏᴍᴘɪʟᴇʀ ( ɪᴛ ᴅᴏᴇs ɴᴏᴛ ɪɴᴛᴇʀᴀᴄᴛ ᴡɪᴛʜ ᴛʜᴇ ᴏs) ᴀɴᴅᴄᴏɴᴠᴇʀᴛs ᴛʜᴇ ᴊᴀᴠᴀ ᴄᴏᴅᴇ ɪɴᴛᴏ ʙʏᴛᴇ ᴄᴏᴅᴇ.
ᴄʟᴀss ʟᴏᴀᴅᴇʀ: ɪᴛ ɪs ᴛʜᴇ sᴜʙ sʏsᴛᴇᴍ ᴏғ ᴊᴠᴍ ᴛʜᴀᴛ ɪs ᴜsᴇᴅ ᴛᴏ ʟᴏᴀᴅ ᴄʟᴀss ғɪʟᴇs.
Answered by
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
Math,
8 months ago
Social Sciences,
1 year ago
Biology,
1 year ago
English,
1 year ago
Physics,
1 year ago