Interview questions
Software Engineer interview questions – page 14
490 questions. Tap “Show answer” to check yourself.
-
Tell the difference between error and an exception?
-
When a thread is created and started, what is its initial state?
-
What do you mean by runtime polymorphism or dynamic method dispatch?
-
Is it necessary that each try block must be followed by a catch block?
-
Why do we need wrapper classes?
-
What do you mean by Locale class?
-
Tell the difference between an Interface and an Abstract class?
-
Can a top level class be private or protected?
-
What does const keyword do?
-
Tell the difference between declaring a variable and defining a variable?
-
How many types of streams are in C?
-
What do you mean by text and binary modes?
-
Can static variables be declared in a header file?
-
When should a type cast be used?
-
Tell the difference between a string copy (strcpy) and a memory copy (memcpy)?
-
What do you mean by a static function?
-
What is the benefit of using const for declaring constants over #define?
-
Tell the way we can convert a number to a string?
-
Can you have virtual functions in Java?
-
What do you mean by final variable?
-
Is there any possibility that we can override the overloaded method?
-
Tell; difference between aggregation and composition?
-
Why Java does not support pointers?
-
Define object cloning?
-
Can we override static method?
-
Why we cannot override static method?
-
Tell the super class for every class?
-
Why multiple inheritance is not supported in java?
-
Define operator overloading?
-
Can we initialize a class/structure member variable as soon as the same is defined?