Search posts, tags, users, and pages
Craftstack Academy
AI coding tutor for beginners: Python, Web, SQL, Java. Free trial: craftstackacademy.com/trial
You press compile, and before your program even starts, Java refuses: Main.java:7: error: incompatible types: String cannot be converted to int int hours = scanner.nextLine();
Markdown supported · ⌘↵ to post
No responses yet.