Linux Multiple Choice Questions – Best Linux MCQs

Linux multiple choice questions for interview and Linux exams preparation. Most of the Linux MCQs are asked in the interviews and they have answers and explanations.   Q) Core of Linux operating system is Kernel Shell Terminal Command   Q) Which one provide command interpreter environment? Kernel Shell CPU Hardware   Q) Which directory contains…

Read the full article

Use of singleton class in java – Including 3 examples in libraries

Learn use of singleton class in java with examples including three examples used in java libraries. Singleton class is majorly used to create single or unique instance and to avoid performance issue. Singleton class is only the concept or pattern we use in java. However, to solve the problem we can use other methods. But…

Read the full article

Singleton class in java – Includes Easy Implementation Steps

Learn singleton class in java with example. Singleton class is just a concept and we can make any class singleton which we want by following some rules. Singleton class restricts the instantiation of a class to single instance and ensures that only one instance of the class exists in the application. Users e.g. other classes…

Read the full article

What is method signature in Java – Does it include return type?

What is method signature in java ? – Method signature in java includes only method name and parameters. Method return types are not included in method signature. For example, in below class method declaration only “foo(String str)” is the method signature that contains method name and parameters. Return type String should in excluded.    …

Read the full article

Java final keyword – Including 15 doubts with answers

Java final keyword – Complete notes on final keyword in java with examples and uses. Learn why to use final keyword with variables, classes and methods in java programs, including answers to 15 doubts with examples and explanations on final keyword in java language. Also, a brief note has been provided if it is mandatory…

Read the full article

MCQs – C++ Virtual Concepts

MCQ on virtual function, VPTR, VTABLE and destructors etc. for interview exams preparation. These multiple-choice questions on virtual concepts contain the answer and explanation.   Q) Which concept is not available in C++? Virtual constructor Virtual destructor Virtual function Virtual Table   Q) What is output of the following C++ program?   A::f() A::f() A::f()…

Read the full article

MCQ Java Interfaces

Q) Which keyword is used to declare an interface in java? class interface implements abstract     Q) A java interface can contain ———— public static Final Variables only public Abstract methods Abstract methods(unimplemented) and implemented methods both public static Final Variables and abstract methods both   Q) Which is the correct way to inherit…

Read the full article

Loose coupling and tight coupling in java – Comparison Example

Notes on loose coupling and tight coupling in java with example. Example of tight coupling and loose coupling in java will be demonstrated with same program and outputs for better understanding between their difference. Tight coupling will be implemented using concrete implementation of classes and loose coupling will be achieved by using class and interface. loose…

Read the full article

10 HR interview questions for freshers – Learn Effective Tips

HR interview questions for freshers that he should prepare before attending job interviews to make the answer impressive. Hint and guideline has been provided to answer them better. These are the questions that are asked in HR interviews, but, they are also asked by technical interview panels or manager of the company. These questions are…

Read the full article