• Register
0 votes


I am new in java, so any one know about the file in java?
Which files containing Java code must end with what "extension"?
7 5 3
5,380 points

1 Answer

0 votes


The correct answer is: .java
A Java class file is a file (with the . class filename extension) containing Java bytecode that can be executed on the Java Virtual Machine (JVM). A Java class file is usually produced by a Java compiler from Java programming language source files ( . 
Hope this might help you.
7 4 2
10,530 points

Related questions

1 vote
1 answer 61 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.
asked Mar 28 Gavin 15.3k points
1 vote
1 answer 55 views
Problem: I am trying to run a simple java program using Eclipse. My program is returning something suspicious message (process finished with exit code 0). What is it? Please, find my sample code below and let me know how to fix the error. import java.util.Scanner; public class ... .out.println(num); num--; } } } Many many thanks for your help, guys. I am really looking forward to have your help.
asked Apr 9 Gavin 15.3k points
0 votes
1 answer 14 views
Problem: Text files containing standard zone information in Windows utilize what file naming convention?​ ​​zone-name​.dns ​​server(zone-name)​.dns ​​zone-name​.txt ​​server(zone-name)​.txt
asked Aug 4 ArifulIslam 5.7k points
0 votes
0 answers 9 views
Problem: Which one of the following would contain the translated Java byte code for a program named Demo? A) Demo.java B) Demo.code C) Demo.class D) Demo.byte
asked Jul 23 conner 1.5k points