Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Michael Chapman

@mchapy1
I was part of the Java coding class.
mchapy1
mchapy1
published a Repl
2 years ago
0
I'm bored.
I'm bored.Made this a few years back and felt like it should see the light of day.
mchapy1
mchapy1
shared a Post
4 years ago
I was bored
#java
#boredombuster
#javascript
+2
Made this after I finished my coding class, pretty basic stuff but I wanted to learn how to use Timer on my own, so I made this.
I'm bored.
Java
mchapy1
mchapy1
shared a Post
4 years ago
I finished my coding class, so during that period I made this because I was bored. Not playing video games, watching YouTube or checking social media.
I'm bored.
Java
mchapy1
mchapy1
shared a Post
4 years ago
On Java, I want to run a public class I have made in a file, i.e File.java Is there a way to make Main.java run code from a public class other than M
AliAkram9
AliAkram9
Try this method 1.you can see the below the command in console java -classpath .:target/dependency/* Main 2.copy paste it again but only change the Word "Main" to the file name you want to run , like if you want to run file input.java you should paste this and run the file java -classpath .:target/dependency/* input This works for me1 year ago
ash15khng
ash15khng
In repl.it you can only run the main file created by repl.it sadly.4 years ago
Highwayman
Highwayman
Does this answer your question? https://stackoverflow.com/questions/13174031/how-to-run-java-class-file-from-another-class-file-java-newb4 years ago
mchapy1
mchapy1
shared a Post
4 years ago
This is filler so I can post this thing. Ignore all of this my computer won’t let me copy and paste this.
isPrime Method (Gaddis 5.13)
Java
MatthewDoan1
MatthewDoan1
what4 years ago