Explain the difference between association, aggregation and inheritance relationships.
No Answer is Posted For this Question
Be the First to Post Answer
Can a class be declared as static?
What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }
Are the equals() and hashCode() protected methods of object class?
If goto and const is reserve words than why it is not work in java?
What is basic concept of static in java ?
How can we run a java program without making any object?
Explain naming conventions for packages?
How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?
Java violates few objected oriented concepts. Can you explain in what way?
What is boolean keyword in java?
How do you do a line break in java?
What is the lifetime and scope of a variable?