Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in Java by (45k points)

A) .class

B) .java

C) .txt

D) .js

E) None of these

2 Answers

+1 vote
by (99k points)

The correct answer to the question “What is the extension of Java code files” is, option (b). (.java). As all the other options are incorrect, about the extension of Java code files. Wish to learn Java and get certified? Check out the Java training course from Intellipaat. Also, have a look at the following video on What is Java, YouTube video to get a better understanding.

0 votes
ago by (1.8k points)

The Correct answer of the ques “what is the correct extension of java code file” is option number (B) .java

When you compile your .java files intermediate code file is generated which is having .class extension.

.txt is a general text file extension, not specific to Java code

.js is the extension for JavaScript files, which is a different programming language.

Related questions

0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...