The name of the class file ends with . . . . . . . .

.cla
.class
.cla
.vb

The correct answer is B. .class.

A class file is a file that contains the definition of a class in Java. It is a binary file that is compiled from a Java source file. The name of a class file always ends with the extension .class.

The other options are incorrect because they are not the extensions of Java class files.

  • .cla is the extension of a class file in Visual Basic.
  • .vb is the extension of a source file in Visual Basic.

I hope this helps! Let me know if you have any other questions.