Core java aptitude questions and answers pdf


 

Java Programming questions and answers with explanation for interview, download Java Programming quiz questions with answers as PDF files and eBooks. All students, freshers can download Core Java quiz questions with answers as PDF files and eBooks. Solved examples with detailed answer description. Core Java objective type questions with answers and explanation (MCQs) for job interview and placement tests. This Core Java online test is useful for.

Author:RACQUEL FRAKER
Language:English, Spanish, Arabic
Country:Marshall Islands
Genre:Technology
Pages:440
Published (Last):15.04.2016
ISBN:397-1-14566-426-4
Distribution:Free* [*Registration needed]
Uploaded by: GALE

70934 downloads 125611 Views 25.60MB PDF Size Report


Core Java Aptitude Questions And Answers Pdf

Java Aptitude Questions in mtn-i.info for more Java Aptitude Questions to download in pdf format. i want java aptitude questions with answers. Posted by Arnab. CORE JAVA INTERVIEW. QUESTIONS AND ANSWERS. Table of Contents. 1) what are static blocks and static initalizers in Java?. Java Programming questions and answers with explanation for interview, competitive examination and entrance test. Fully solved examples with detailed.

Solved examples with detailed answer description, explanation are given and it would be easy to understand. View the solution for the problems with feel and good user interface; easily go through all questions and answers. You can easily answer the interview questions based on Core Java by practicing the exercises given below. All Rights Reserved. Contact us: Current Affairs General Knowledge. Microbiology Biochemistry Biotechnology Biochemical Engineering. Why Core Java Interview Questions? Where can I get Core Java interview questions and answers with explanation? How to answer Core Java interview questions? What is the most important feature of Java? Platform independence means that we can write and compile the java code in one platform eg Windows and can execute the class in any other supported platform eg Linux,Solaris,etc. JVM's are not platform independent.

Extending two or more classes. Extending one class and implementing one or more interfaces. Implementing two or more interfaces. Which one of the following is used to enforce such restriction?

Core Java Multiple Choice Questions 21 What is the fundamental unit of information of writer streams? Core Java Multiple Choice Questions 25 What is the sequence of major events in the life of an applet?

Core Java Multiple Choice Questions 30 Which of the following statements are true regarding the finalize method? Core Java Multiple Choice Questions 32 Given a class named Book, which one of these is a valid constructor declaration for the class? The Vector class provides the ability to execute a growable array of objects. What is the difference between transient and volatile variable in Java? Transient: In Java, it is used to specify the variable is not being serialized.

So, declare those variables as transient. If the variable is confirmed as transient, then it will not be persisted. Transient keyword is used with that instance variable which will not participate in the serialization process. We cannot use static with a transient variable as they are part of the instance variable.

Java Multiple Choice Questions and Answers

The map interface is not compatible with the Collection interface. Because Map requires key as well as value, for example: if we want to add key-value pair so we will use put Object key , Object value.

There are two parameters required to add an element to HashMap object. In Collection interface add Object o has only one parameter. The other reasons are Map supports valueSet, keySet as well as other suitable methods which have just different views from the Collection interface.

Mention the uses of Synchronized block We are using Synchronized block because It helps to lock an object for every shared resource. The scope of synchronized block is smaller than the method.

TCS Technical Interview Questions and Answers

What are the functions of hashCode method? This method returns a hash code value an integer number.

And also returns the same integer number, if two keys by calling equals method are same. But in sometimes two hash code numbers can have different or same keys. What is the default size of load factor in hashing based collection?

Custom tags can manipulate JSP content, but beans cannot. Composite operations can be reduced to a considerably simpler form with custom tags than with beans. Custom tags require reasonably a bit more work to set up than do beans. Custom tags are available only in JSP 1. The expression language is used in JSP to simplify the accessibility of objects and It provides many objects that can be used directly like param, requestScope, sessionScope, applicationScope, request, session etc.

What are implicit objects? Implicit objects, also called as pre-defined variables, are created by JSP Engine inside the service method so that it can be accessed directly without being declared explicitly. Define a cookie and what are the difference between session and cookie? A cookie is a small piece of information, this piece of information sends to the browser by a web server. The browser stores the cookies for every Web server in a local file.

In a future request or future reference, the browser sends all stored cookies for that detailed Web server.

The difference between cookies and sessions are: The session is working, regardless of the settings on the client browser. The client may have selected to disable cookies.

The session and cookies also differ in storing the amount of information.

Instead of sending data as a packet, tunneling encrypts the data and encapsulates in a connection. What is a function of IOC container in spring? IOC container is responsible to: create the instance assemble the dependencies What is lazy loading in hibernate?

Lazy loading is a kind of setting that decides whether to load the child entities with the parent entities or not. When enabling this feature the associated entities will be loaded only when it is requested directly. The default value of this setting is true which stops child entities from loading. How can we fetch records by spring JdbcTemplate?

Java Aptitude Questions in pdf

We can fetch records from the database by the query method of JdbcTemplate. There are two interfaces to do this: ResultSetExtractor What is the front controller class of Spring MVC? What are the states of an object in hibernate?

The states of an object in hibernate are- Transient: When objects are just created having no primary key are in transient state. Here the objects are associated with any session. An array has its size that is known as array length c. Array type is checked at the compile-time d. Polymorphism b.

Encapsulation c. Inheritance d. StringBuffer b. StringBuffer String str c. StringBuffer int capacity d.

TOP Related


Copyright © 2019 mtn-i.info. All rights reserved.
DMCA |Contact Us