If an application has multiple classes in it, is it okay to have a main method in more than one class?
No Answer is Posted For this Question
Be the First to Post Answer
What's the difference between int and integer in java?
I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
Does .length start 0 java?
What is not object oriented programming?
Can you override static method in java?
Why is a singleton bad?
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
When should I use singleton pattern?
Where is jre installed?
Explain scope or life time of local variables in java?
List implementations of list interface?
What is downcasting?