Java FAQ’s

Java FAQ’s

Java Online Training in Ameerpet Hyderabad

We are providing Java Online Training in Ameerpet Hyderabad. We are one of best Institute to provide Best High Quality Java online training all over India. The IT Professionals and Students from India and abroad who are unable to attend regular classes can attend our Java online training from their home in their convenient timings. For more details on Java Online Training and Java FAQ’s please call to 9290971883, / 9247461324, or drop a mail to revanthonlinetraining@gmail.com

Java FAQ’s

There differences between the Java platform and other platforms are :

Java is the software-based platform whereas the other platforms may be the software based platforms or hardware platforms.

Java is executed on the top of other hardware platforms whereas the other platforms can only have the hardware components.

Java is known as platform independent as of its byte codes can run on any system irrespective of its underlying operating system.

A class in Java programming language is a blueprint which includes all the data.  A class contains fields or variables and methods to describe the behavior of an object. The syntax of a class will be

class Abc {

member variables // class body

methods}

Java is not 100% Object-oriented programming language because it makes the use of eight primitive data types such as boolean, byte, char, int, float, double, long, short which are not objects.

Java compiler converts the Java programs into the class file or Byte Code which is an intermediate language between source code and machine code. The bytecode is not platform specific and it can be executed on any computer.

We use static methods and static variables when there is a requirement to share a method or a variable between multiple objects of a class instead of creating separate copies for each object, we use static keyword to make a method or variable shared for all objects.

The float variables takes 4 bytes in memory while the Double variables takes 8 bytes in memory. Float is single precision floating point decimal number while Double is the double precision decimal number.

In java, the main() method can't return any data and hence, it is always declared with a void return type.

Serialization is used when the data needs to be transmitted over the network. By serialization, the object's state is saved and converted into byte stream. The byte stream is transferred over the network and the object is re-created at destination.

A class can have multiple constructors with different parameters in Java. Which constructor is used for object creation depends on the arguments passed while creating the objects.

Runnable interface is used for implementing multi threaded applications in Java. Runnable interface is implemented by a class to support multi threading.

String is not a primitive data type in java programming language. When a string is created in java, it is an object of Java.Lang.String class that gets created. After creating of the string object, all the built-in methods of String class can be used on the string object.

Multi threading is a programming concept which can be used to run multiple tasks in a concurrent manner within a single program. Threads share same process stack and running in parallel and helps in improvement of performance of any program.

A platform is the hardware environment or a software environment in which a piece of software is executed. Generally there are two types of platforms, software-based and hardware-based. Java provides the software-based platform.

A Java ClassLoader is a subset of Java Virtual Machine (JVM), which is responsible for loading the class files. Whenever a Java program is executed it is first loaded by the classloader. Java programming language provides three built-in classloaders:

  • Bootstrap ClassLoader
  • Extension ClassLoader
  • System/Application ClassLoader

Map is an interface of Util package which maps unique keys to values. The Map interface is not a subset of the main Collection interface and thus it behaves little different from the other collection types. Below are a few of the characteristics of Map interface:

Map doesn’t contain duplicate keys.

Each key can map at max one value.

The memory areas allocated by JVM are Classloader, Class area, Heap, Stack, Program Counter Register and Native Method Stack

The javac is a compiler which compiles the source code of the program and generates bytecode. In simple words javac produces the java byte code from the source code written *.java file. JVM executes the bytecode to run the program.

The DatabaseMetaData interface returns the information of the database such as username, driver name, driver version, number of tables, number of views etc.

Java FAQ's

Java FAQ’s

Institute Address :

B1, 3rd Floor, Eureka Court, Near Image Hospital, Ameerpet, Hyderabad, India

Other Courses ;

Informatica MDM Online Training

Oracle Analytics Online Training

Joomla Online Training

Scala Online Training

UI Development Online Training