88.2k views
3 votes
What is output? public class vehicle { public void drive(){ system.out.println("driving vehicle"); } }

1 Answer

5 votes
The system will print “driving vehicle ”
User Abel Mohler
by
5.3k points