3i Infotech Papers: Sample Questions 1234 - 1235 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1234

» Languages » Java

Essay Question▾

Describe in Detail

What are JVM, JRE, J2EE, and JNI?

Explanation

JVM:

  • Java virtual machine is an abstract machine.

  • Specification providing runtime environment in which java byecode can executed.

  • Available for many hardware and software platforms.

Perform following main tasks:

Image of the main tasks

Image of the Main Tasks

Image of the main tasks

JRE:

  • Acronym for java runtime environment.

  • Implementation of JVM which physically exists.

  • Contains libraries other files JVM uses at runtime.

  • Implementation of JVMs is released by other companies besides Sun Micro Systems.

J2EE:

  • J2EE plate form describes the J2EE application model and best practices for using the J2EE plateform.

  • Application model provides a simplified approach to developing highly scalable and available applications.

  • Application model encapsulates the layer of functionality in specific types of components.

  • J2EE components provide competitive choices for enterprise developers and IT organizations.

JNI:

Understanding of JNI.

Understanding of JNI.

Understanding of JNI.

  • Java native programming interface is part of the java software development kit.

  • Provides code and code libraries written in other languages as C and C++.

  • JNI enables embedding a java virtual machine into native applications.

  • Allows programmers to call java code from within native code.

Question number: 1235

» Languages » Java

Short Answer Question▾

Write in Short

Write a program for recursive traverse?

Explanation

void traverse (Node * head)

{

if (head==NULL)

return;

cout < < head- > data < < ” “;

traverse (head- > next)

};