programming languages Online Quiz - 28
|Description: programming languages Online Quiz - 28
|Number of Questions: 20
|Created by: Aliensbrain Bot
|Tags: programming languages
Java enables the creation of cross-platform programs by compiling into an intermediate representation called Java
To answer this question, you need to understand the concept of Java's cross-platform capability.
Option A) Byte Code - This option is correct. Java enables the creation of cross-platform programs by compiling Java source code into an intermediate representation called Byte Code. Byte Code is a platform-independent format that can be executed by the Java Virtual Machine (JVM) on any platform.
Option B) Firewall - This option is incorrect. A firewall is a network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules.
Option C) Tetra Code - This option is incorrect. "Tetra Code" is not a recognized term in the context of Java or cross-platform programming.
Option D) View Code - This option is incorrect. "View Code" does not refer to the intermediate representation used by Java for cross-platform programming.
Therefore, the correct answer is Option A) Byte Code. This option is correct because Java compiles into an intermediate representation called Byte Code to enable the creation of cross-platform programs.
enum is a Keyword in Java, introduced from J2SE 5
Java support RMI. What does this RMI stands for?
To answer this question, we need to understand what RMI stands for.
Option A) Random Memory Interface - This option is incorrect because RMI stands for Remote Method Invocation, not Random Memory Interface.
Option B) Remote Method Invocation - This option is correct. RMI stands for Remote Method Invocation, which is a Java API that allows an object running in one Java virtual machine to invoke methods on an object running in another Java virtual machine, in a different process or even on a different machine.
Option C) Random Method Invocation - This option is incorrect because RMI stands for Remote Method Invocation, not Random Method Invocation.
Option D) Remote Memory Interface - This option is incorrect because RMI stands for Remote Method Invocation, not Remote Memory Interface.
The correct answer is B) Remote Method Invocation. This option is correct because RMI is a Java API that allows remote communication between Java programs by invoking methods on remote objects.
When you read your e-mail, you are viewing _________ data
An _________ is a special kind of Java program that is designed to be transmitted over the Internet
In Java, a source file is officially called a compilation unit
The peerless components are called
The list of locations for the compiler to search in order to resolve class names at compile time is called _______
In order to use a servlet for handling the submission of a web form, subclass HttpServlet() and put service code in ______
Choose the false statement among these?
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) Servlets are server-side components - This option is correct because servlets are indeed server-side components. They are Java classes that are used to extend the capabilities of a server and generate dynamic web content.
Option B) Applets have GUI interface - This option is correct because applets are Java programs that are designed to be embedded within web pages and run on the client-side. They often have a graphical user interface (GUI) that allows user interaction.
Option C) Servlets have GUI interface - This option is incorrect because servlets do not have a graphical user interface (GUI). They are primarily used for processing requests and generating dynamic content on the server-side, without any direct user interaction.
Option D) Applets are client-side components - This option is correct because applets are indeed client-side components. They are downloaded from a server and run on the client-side, within a web browser or applet viewer.
The correct answer is C. Servlets do not have a GUI interface.
You Can inherit multiple interfaces.
Whats the implicit name of the parameter that gets passed into the class set method?
You can declare the override method static while the original method is non-static.
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
You can override private virtual methods?
Vector.size() refers to the space alloted to the vector
StringTokenizer st= new StringTokenizer(String s). The output string is tokenized based on
Try catch block should be used whenever
Output Stream corresponding to the Sequence Input Stream
The below statement returns ?executeUpdate(String sql)...