Languages [3i Infotech Placement]: Sample Questions 174 - 176 of 546

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 174

Languages
Edit

Describe in Detail

Essay▾

Which keyword is used to inherit a class?

Explanation

Understanding of Extend Inherit Class
  • Extends keyword is used to inherit a class.
  • It is overrides all the methods and variables in the parent class there reusability of code is achieved.

Syntax

class Super

{

}

class Sub extends Super

{

}

Question 175

Languages
Edit

Describe in Detail

Essay▾

Explain 2-tier and 3-tier architecture?

Explanation

2-tier architecture: client server application

Structure of 2-Tier Architecture

Two-tier architecture is divided into two parts:

Two-Tier Architecture
  • Client system handles presentation and application and server handles database.
  • Communication takes place between the client and server-Client requests the server and server processes the request and sends back the data to the client.

3-tier architecture:

Define 3-Tier Architectur

Three-tier architecture is divided into three parts:

Three-Tier Architecture

In this client system handles presentation, application server handles application layer and server system handles database layer.

Question 176

Languages
Edit

Describe in Detail

Essay▾

What is a JAR file?

Explanation

Understanding of JAR File
  • “JAR” stands for java Archive.
  • It is a file format based on the popular ZIP file format and used for aggregating many files into one.
  • A JAR file is contains compressed version of class files, audio file, image files- as an aggregation of resources into a single, compressed file.

Developed by: