What is difference between equal and == in java?
No Answer is Posted For this Question
Be the First to Post Answer
How to compare two strings in java program?
What is garbage collection in Java, and how can it be used ?
32 Answers Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,
What is return data type?
What are the parameters used in Connection pooling?
Write a java program to get a string of words and print the numbers of each word count in descending order
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?
What is a boolean in java?
What is qms certification?
What is java full form?
Write a function to print Fibonacci series and Tribonacci series?
How do you use compareto in java?
what is jndi?