Logo F2FInterview

Java Interview Questions

Q   |   QA

Pointer is a reference handle to a memory location. Improper handling of pointers leads to memory leaks and reliability issues hence Java doesn't support the usage of pointers.

Not possible.

A class can't be declared as protected. only methods can be declared as protected.

A protected method can be accessed by the classes within the same package or by the subclasses of the class in any package.

A final variable's value can't be changed. final variables should be initialized before using them.

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: