Quizzes
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
source-file
:
Content language: English
Русский
What is the result of the command javac test.java if file test.java contains: // test.java /* comments */
source-file
Is an empty file allowed to compile?
source-file
Does the following code will compile if both classes are declared in Test.java? //Test.java public class Car{ public String myCar = "Ferrari" ; } public class Test{ public static void main(String ... args){ Car myCar = new Car(); System.out.println(myCar.myCar); } }
source-file
← Prev
1
Next →
Sign Up Now
or
Subscribe for future quizzes