Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get flow of Back end programme execution through command prompt.

 
Mahi Ranga
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can i get flow of Back end Programme execution through command prompt.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15364
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you explain in more detail (maybe with an example) what you mean?
 
Mahi Ranga
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

for example :
public class A{
public static void main(String args[]){
String str="abc";
str+="def";
System.out.println(str);
}
}
the above example String is Immutable,but how the string value stored in heap.if i can run this through command prompt using some command(that one i donot know).i want that command.please let me know.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49411
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are asking several questions which appear unrelated to one another. Strings. Command: java A For following the flow of execution, add this sort of thing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic