Java Related AllOther Interview Questions
Questions Answers Views Company eMail

What if the main method is declared as private?

472

Explain the reason for each keyword of public static void main(string args[])?

496

What do you understand by downcasting?

520

Why oracle type 4 driver is named as oracle thin driver?

455

Can the main method be declared final?

533

Why doesn’t the main method throw an error with no arguments?

538

How can I write a program that takes command line input?

483

Why there are no global variables in java?

521

What do you understand by numeric promotion?

521

Explain the encapsulation principle.

539

How can one prove that the array is not null but empty?

505

Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why

468

Can an application have multiple classes having main method?

488

In system.out.println(), what is system, out and println?

637

Can I have multiple main methods in the same class?

482


Post New Java Related AllOther Questions

Un-Answered Questions { Java Related AllOther }

Explain different way of using thread?

590


Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.

1513


Which version of my browser should I use? : java security

505


Why oracle type 4 driver is named as oracle thin driver?

455


What is persistence xml in java?

503






can a program use more than one command-line argument?

489


Is eclipse a jdk?

504


What is java ioc?

491


What is a uint8?

490


What is a java singleton?

475


How can I swap two variables without using a third variable?

498


explain how java se 8 data and time api solves issues of old java date api?

566


how can we create the ui using netbeans,having the code?

1631


What is cdi bean in java?

531


How can I protect myself? : java security

501