imsajaved8611 imsajaved8611
  • 04-09-2019
  • Computers and Technology
contestada

Assume that the main method of the class named Welcome does not contain any compile-time errors. What is the name of the file generated by the Java compiler?

Respuesta :

StaceeLichtenstein StaceeLichtenstein
  • 14-09-2019

Answer:

Welcome.class is the file generated by the Java compiler.

Explanation:

When we compile welcome.java by javac  command it converted into .class file i.e it convert into Welcome.class if it does not contain any compile-time errors. This  file containing Java bytecode that can be executed on the Java Virtual Machine(JVM).

class Welcome

{

public static void main(String args[])

{

System.out.println(" hello");

}

}

Save:Welcome.java

compile it by javac command

javac  Welcome .java

it will converted into :Welcome.class.

Answer Link

Otras preguntas

does the following series converge or diverge 7-21+63-189
Biomass includes _____.
In a class of 40 students, everyone has either a pierced nose or a pierced ear. The professor asks everyone with a pierced nose to raise his or her hand. Nine h
what is always used between items in a series when one or more of these items contain commas.
t^2+3s+3t+st=()(t+s)
In 1918 why did Russia sign a harsh peace treaty with the germans
58 plz I don't understand
Convert 5.764764764... to a rational expression in the form of a/b where b=0
Climate change can have a large impact on coral reefs. How does climate change impact coral? Climate change decreases the pH of seawater, which makes it harder
Jimmy invests $3000 in an account with a 3.8% interest rate, making no other deposits or withdrawals. What will Jimmy’s account balance be after 9 years if the