Tell us something about different types of casting?


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

Post New Answer

More Core Java Interview Questions

What is the purpose of java?

0 Answers  


What is the difference between static (class) method and instance method?

0 Answers  


What is a file pointer?

0 Answers  


Can one thread block the other thread?

0 Answers  


Explain some best practices you would apply while using collection in java?

0 Answers  






Why do we use return statement?

0 Answers  


What are the types of strings?

0 Answers  


How Vector class is synchronized,How to build user defined class as synchronized?

0 Answers  


What are design patterns and please explain?

0 Answers  


Write a java program to get a string of words and print the numbers of each word count in descending order

11 Answers   Logica CMG, Subex,


What is console based application in java?

0 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


Categories