microrefa.blogg.se

Qa java interview questions
Qa java interview questions









qa java interview questions

It doesn’t matter but void should always come before main().ġ7. Does the order of public and static declaration matter in main() method? But JVM is purely a run time environment and hence you will not be able to compile your source files using a JVM. JDK is Java Development Kit which is for development purpose and it includes execution environment also. What is the difference between a JDK and a JVM? Platform independence means that we can write and compile the java code in one platform (eg Windows) and can execute the class in any other supported platform eg (Linux,Solaris,etc). What do you mean by platform independence? You can have any number of main() methods with different method signature and implementation in the class. JVM’s are platform specific run time implementation provided by the vendor. Java uses primitive data types and hence is not a pure object oriented language. Local variables should be initialized before accessing them. Local variables are those which are declared within a block of code like methods. Main() method doesn’t return anything hence declared void. What is the return type of the main() method? Improper handling of pointers leads to memory leaks and reliability issues hence Java doesn’t support the usage of pointers. Pointer is a reference handle to a memory location. What is a pointer and does Java support pointers? Instance variables need not be initialized before using them as they are automatically initialized to their default values. Instance variables are those which are defined at the class level.

qa java interview questions

Path is used define where the system can find the executables(.exe) files and classpath is used to specify the location. Path and Classpath are operating system level environment variables. What is difference between Path and Classpath? What is the most important feature of Java? Java doesn’t support multiple inheritance. JVM is Java Virtual Machine which is a run time environment for the compiled java class files.

QA JAVA INTERVIEW QUESTIONS MANUAL

Manual Testing Tutorial for Beginners Core Java Interview Questions and Answers 1. Python Programming Free Videos (Full Course) Selenium Online Training with Project (by G C Reddy) Core Java Interview Questions, Java Standard Edition, Java Programming Environment setup, programming Languages Fundamentals, and Object oriented programming concepts.











Qa java interview questions