What is the difference between the paint() and repaint() methods in java programming?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }

4 Answers   Cap Gemini,


Write POJO class as a key to hashmap???

2 Answers  


What is the use of callablestatement?

0 Answers  


Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?

2 Answers  


How many types of the indexof method are there for strings?

0 Answers  


What is meant by singleton class?

0 Answers  


for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }

3 Answers  


Can we create a class inside a class in java?

0 Answers  


What advantage do java's layout managers provide over traditional windowing systems?

0 Answers  


Differences between external iteration and internal iteration?

0 Answers  


How do you sort arraylist in descending order?

0 Answers  


Can we define private and protected modifiers for variables in interfaces?

0 Answers  


Categories