/* package whatever; // don't place package name! */ import java.util.*;import java.lang.*;import java.io.*;public abstract class test3{ public abstract void methodA(); public void methodB() System.out.println("hello");
Standard input is empty
Main.java:9: error: ';' expected public void methodB() ^ Main.java:11: error: reached end of file while parsing System.out.println("hello"); ^ 2 errors
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!