Java Programming Questions

What is Java Programming Language?

The Java programming language is a high-level language that can be characterized by all of the following buzzwords:

Architecture neutral
Object oriented
High performance

How java language works?

With most programming languages, you either compile or interpret a program so that you can run it on your computer. The Java programming language is unusual in that a program is both compiled and interpreted. With the compiler, first you translate a program into an intermediate language called Java bytecodes ?the platform-independent codes interpreted by the interpreter on the Java platform. The interpreter parses and runs each Java bytecode instruction on the computer. Compilation happens just once; interpretation occurs each time the program is executed.

What is java platform?

A platform is the hardware or software environment in which a program runs. The Java platform differs from most other platforms in that it’s a software-only platform that runs on top of other hardware-based platforms.

What are Java platform components?

The Java platform has two components:

1) The Java Virtual Machine (Java VM)
2) The Java Application Programming Interface (Java API)

What is Java Virtual Machine (Java VM)?

It’s the base for the Java platform and is ported onto various hardware-based platforms.

What is Java Application Programming Interface (Java API)?

The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets. The Java API is grouped into libraries of related classes and interfaces; these libraries are known as packages.

How to write a simple Java application?

Here is a simple java application.

* The HelloWorldApp class implements an application that
* simply displays “Hello World!” to the user on the consule.
class HelloWorldApp {
public static void main(String[] args) {
System.out.println(“Hello World!”);

What is a standard extension?

Extensions are packages of classes written in the Java programming language (and any associated native code) that application developers can use to extend the functionality of the core part of the Java platform. The extension mechanism allows the Java virtual machine (VM) to use the extension classes in much the same way as the virtual machine uses the system classes. The extension mechanism also provides a way for needed extensions to be retrieved from specified URLs when they are not already installed in the JDKTM software.

How are extensions packaged?

Extensions are packaged in one or more Java Archive (JAR) files. An extension may consist of more than one JAR file. In that case, one JAR file will be the primary JAR file that specifies the extension name and references other JAR files comprising the extension.

What is JDataStore?

JDataStore is a 100% Pure Java object/relational DBMS offering a fully integrated development environment. Because JDataStore delivers Pure Java implementation, it allows interoperability across platforms and can be shipped and downloaded with any application.

What is a DataStore?

JDataStore makes use of several components among them DataStore. The DataStore component implements a database with support for storing Java objects as columns in a table or as a separate file inside the DataStore(DataStore has a built-in file system with a directory that can store tables or arbitrary application files and java objects). The database uses a single file storage. Separate files are used for transaction logging.

Which JDBC Drivers are available to access JDataStores?

JBuilder 3 Enterprise includes a local and remote Type 4 JDBC drivers for JDataStore.
The driver class names is: com.borland.datastore.jdbc.DataStoreDriver
The URL will determine if you want to connect to the a local or remote store.

Which version of SQL is supported by JDataStore?

The DataStore JDBC driver supports a subset of the ANSI/ISO SQL-92 standard.

M. Saqib: Saqib is Master-level Senior Software Engineer with over 14 years of experience in designing and developing large-scale software and web applications. He has more than eight years experience of leading software development teams. Saqib provides consultancy to develop software systems and web services for Fortune 500 companies. He has hands-on experience in C/C++ Java, JavaScript, PHP and .NET Technologies. Saqib owns and write contents on since 2004.
Related Post