Which four are syntactically correct?

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Which four are syntactically correct?

Post by answerhappygod »

Which four are syntactically correct?

A. package abc; package def; import Java.util . * ; public class Test { }
B. package abc; import Java.util.*; import Java.util.regex.* ; public class Test { }
C. package abc; public class Test {} import Java.util.* ;
D. import Java.util.*; package abc; public class Test {} E. package abc; import java.util. *; public class Test{} F. public class Test{} package abc; import java.util.*{} G. import java.util.*; public class Test{} H. package abc; public class test {}
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply