Java Basic Practice Test-1

What is a correct syntax to output "Hello World" in Java?

What is a correct syntax to output "Hello World" in Java?

How many ways we can set the class path?

What is the default access level of the constructor?

Where the local variables stored in Memory?

If we create the object in Instance Initialization Block what will happen?

how many ways we can get Class object?

What is the return type of getDeclaredMethods()?

Static imports are introduced in which Java version?

Final keyword we can use in how many scenarios?