python - Java Utilizing variables in Eclipse after program runs -


so bit new java , eclipse. more used python. using idle in python able run program it's file , and continue use variables. example, if have code written out defining function, in idle can write there.

x = foo() print x 

however, in java seems need put in main method.

public static void main(string[] args) 

this fine if know want function, if running code took day run, , forgot write out put file. in python, can wait finish running , write file in idle. in java need tell write file in main method , re run it. possible set eclipse work idle don't need rerun program if want new things variables calculated?

i have never used netbeans, type of thing easier in netbeans?

java compiled language, python scripting language. use scala, or jython (or scripting language) behavior want. it's possible use scrapbook page in eclipse, isn't true repl (which same asking for).


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -