Technology Questions
Practice Technology MCQs with answers and explanations. Page 73 of 79.
Category
Interview
Topic
Technology
Page
73 / 79
Mode
Practice
Questions
Open any question to view the answer and explanation.
In Java, is the statement "There is one default constructor in every class" always correct, or can a class legally have no default constructor?
Open
View answer
In object oriented programming terminology, which of the following is not commonly used as another name for an attribute of an object?
Open
View answer
Within a single Java Virtual Machine, how does the Java programming language pass arguments to methods and constructors?
Open
View answer
In Java serialization, which keyword is used to tell the Java Virtual Machine to skip a particular field when serializing an object that contains it?
Open
View answer
According to the JavaBeans naming convention, which of the following method names correctly follows the standard for a simple read accessor on a customer property?
Open
View answer
In Java exception handling, what is the key difference between the throw statement and the throws clause in a method declaration?
Open
View answer
In object oriented programming, which list best represents the core elements or principles that define the object oriented paradigm?
Open
View answer
In Java concurrency, the statement "A lock can be acquired on a class" refers to synchronizing on the Class object (for example via a static synchronized method). Is this statement true or false?
Open
View answer
In Java, which combination of modifiers can legally be applied to a local inner class defined inside a method body?
Open
View answer
In core Java, which option best describes the main categories of classes when you distinguish between top level classes and nested classes?
Open
View answer
In C programming, if you want to implement a heterogeneous linked list that can store different data types in its nodes, which pointer type is most appropriate to use in the node structure?
Open
View answer
In object oriented programming, what is meant by overloading polymorphism (also called compile time or static polymorphism)?
Open
View answer
In a relational database management system (RDBMS), which data structure is commonly used internally to implement indexes efficiently for range queries and ordered access?
Open
View answer
In the Java platform, what is a JAR file and what is it commonly used for?
Open
View answer
In object oriented programming, what is polymorphism and how does it relate to using a common interface for different underlying types?
Open
View answer
In C++, when do you use the :: scope resolution operator and what problem does it solve?
Open
View answer
In Java object oriented programming, what does runtime polymorphism through method overriding mean, and how does it determine which version of an overridden method is actually executed?
Open
View answer
In Java design, when is it more appropriate to use an abstract class and when is it better to use an interface to model behavior and shared code?
Open
View answer
In the Java Collections Framework, how do you typically traverse all elements of a collection using its Iterator interface methods in a safe and standard way?
Open
View answer
In Java Collections, how do you decide when to prefer an ArrayList and when to prefer a LinkedList for storing and accessing elements?
Open
View answer
Practice smarter
Solve a few questions daily and revisit weak topics regularly to improve accuracy.