• Register
1 vote
64 views

Problem:

Hello, Kodlogs

I am a new student of Computer Science. I am studying Java right now. I’ve got an MCQ question in my book that asks, the extension name of a java bytecode file is?

I’ve read the whole chapter again thoroughly and I couldn’t figure out the answer anyhow. Please help me out providing the answer.

-- Best regards.

12 7 7
15,250 points

1 Answer

1 vote

Solution:

A Java class file is a file with the .class filename extension that contains the Java bytecode that can be executed on the Java Virtual Machine (JVM). If a source file has more than one class, each class is compiled into a separate class file, but the main byte code is saved inside the .class file and that is named after the same of the public class of the java program.

I hope you get the answer.

Thanks.

13 9 6
94,240 points

Related questions

0 votes
1 answer 17 views
0 votes
1 answer 22 views
22 views
Problem: I am new in java, so any one know about the file in java? Which files containing Java code must end with what "extension"?
asked Feb 21 maddi86 5.4k points