• Post Reply Bookmark Topic Watch Topic
  • New Topic

File extension after execution  RSS feed

 
kul karni
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guyz,

Maybe it is a too basic question.

dot.class file is generated after compilation, but what file is generated after executing the dot.class file?

thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no such things "too basic" a question, but this does belong in the Beginner's forum, so I've moved it there.

What makes you think that any file is going to be created after execution?
 
Ralph Cook
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compilation necessarily means translating one set of information (source code) into another form (object code; in Java, object code is a class file, or possibly some other form of bytecode). In order to keep track of things, compilers generally take a source file and create a class file of the same name.

Running a program might do that, or it might translate one form into twenty, or not translate anything into anything; what it does depends entirely on what the program was written to do. So there is no equivalent "generation after execution".

rc
 
kul karni
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thank you for the information.

But should I conclude that no file or format is created after executing a dot.class file ???
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Ralph said, that depends on what the program was designed to do.
 
kul karni
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!