how we can make a write-only class in java?
int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c;
What is mutable object and immutable object?
how an we achive multiple inhetitance in java using interface..??
Can we override constructor?
why the equals method can be override?when we override the equals method?
What is enhanced loop in java?
Can we catch more than one exception in single catch block?
How many bits is a 64 bit byte?
How do you achieve singleton?
What is difference between arraylist and list in java?
what is collections in java?
There is a Banking application. It has 2 types of account, Savings and Current. Write a method calculateInterest by passing an ArrayList of these account objects and calculate Interest accordingly. Write code for this situation