Accenture solved Placement Papers - java questions - part 1

Here are some solved questions from Accenture Placement Papers

1) The Java  interpreter is used for the execution of the source code.

True
False

Ans: True

2) What declarations are required for every Java application?

Ans: A class and the main( ) method declarations.

3) What are the two parts in executing a Java program and their purposes?

Ans: Two parts in executing a Java program are:
Java Compiler and Java Interpreter.
The Java Compiler is used for compilation and the Java Interpreter is used for execution of the application.

4) What are the three OOPs principles and define them?

Ans : Encapsulation, Inheritance and Polymorphism are the three OOPs Principles.
Encapsulation:
Is the Mechanism that binds together code and the data it manipulates, and keeps both safe from outside interference and misuse.
Inheritance:
Is the process by which one object acquires the properties of another object.
Polymorphism:
Is a feature that allows one interface to be used for a general class of actions.

Are You Preparing Seriously For 2014 Placement Tests?

Click Here To Know What Placement Success Book (Hard Copy) Contains & Know How To Order This Book

Jobs, Placement Papers

Welcome to Placement papers and jobs help portal. Here you can find previous placement questions, sample placement papers, job interview questions and other material pertaining to top Indian companies like Infosys, Wipro, HCL, Satyam, TCS, HCL, HP, Accenture etc.
We are constantly striving to provide you the latest job openings and placement papers and services available from India.