Blog Archives

Java String & Array limitations and OutOfMemoryError

Q1. What is the maximum possible length of a Java String & how much heap space do you need to store the maximum possible String object? A1. A Java String internally uses a char array (i.e. char[]) and the indices of an array is an integer. The maximum value of

Read more ›

Posted in Exception Handling, Memory Management

SQLException handling – recoverable & irrecoverable scenarios

Q1. What is wrong with SQLException? A1. When a SQLException occurs, you do not necessarily know what went wrong. It could be a temporary failure that correct itself with time like a database deadlock or rebooting server OR a permanent fault like bad SQL or missing columns in a table…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try OR look for post titles with ♥

Log In | Register
Posted in Exception Handling, member-paid

Top 5 Core Java Exceptions and best practices

#1: ConcurrentModificationException Getting a ConcurrentModificationException when trying to modify (i.e. adding or removing an item) a collection while iterating. The following code throws a ConcurrentModificationException.

To avoid ConcurrentModificationException in a single-threaded environment, you can remove the object that you are working on with the iterator.

To Avoid ConcurrentModificationException…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try OR look for post titles with ♥

Log In | Register
Posted in Best Practice, Exception Handling, Exceptions, member-paid
Tags:

♦ Java exception handling interview questions and answers

Q1. What is the difference between a runtime exception and a checked exception? A1. You must either catch or throw a checked exception. The unchecked exception (aka Runtime exception) does not have to be explicitly handled. Q. So, when to use checked exception, and when to use unchecked exception? A.…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try OR look for post titles with ♥

Log In | Register
Posted in Exception Handling, Exceptions, member-paid
Tags: ,
1180+ members Prepare to succeed? | Reviews | Career PDFs | Self-taught Java developer?

800+ Interview Q&As ♥Free | ♦FAQ (Mouse Hover For Full Text)

open all | close all

200+ Java FAQs – Quick Prep

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your "Career Skills"?

open all | close all