Senior Java Developer Tech Lead Interview Questions

5,570 senior java developer tech lead interview questions shared by candidates

Which of the following statements are not correct? (Select one) If an import statement is present, it must appear before any class or interface definitions. A Java file without any class or interface definitions can also be compiled. A Java program must have a package statement. A package statement if present must be the first statement of the program. An empty file is not a valid source file.
avatar

Senior Java Developer

Interviewed at Grid Dynamics

3.7
May 15, 2015

Which of the following statements are not correct? (Select one) If an import statement is present, it must appear before any class or interface definitions. A Java file without any class or interface definitions can also be compiled. A Java program must have a package statement. A package statement if present must be the first statement of the program. An empty file is not a valid source file.

Viewing 5131 - 5140 interview questions

Glassdoor has 5,570 interview questions and reports from Senior java developer tech lead interviews. Prepare for your interview. Get hired. Love your job.