How to declare objects of a class ?
No Answer is Posted For this Question
Be the First to Post Answer
why to use transient variables when static variables can be used for Serialization
What is the difference between compile-time polymorphism and runtime polymorphism?
Can you write a java class that could be used both as an applet as well as an application?
What is the difference between private & public & friendly classes?
what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?
Can we have any other return type than void for main method?
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.
What is a generic data type?
Explain the private field modifier?
What is method overloading and method overriding?
What is set in java?
What is the basic concepts of OOPS?