How to print a statement without using semicolan in java

Answer Posted / sadikhasan palsaniya

for (int i=0;i<1;System.out.println("Sadikhasan
Palsaniya"),i++);

Is This Answer Correct ?    22 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the base class of all exception classes in java?

576


What is the major drawback of internal iteration over external iteration?

591


What is the differences between heap and stack memory in java? Explain

537


Explain the difference between an object-oriented programming language and object-based programming language?

551


What are wrapper classes in java?

602






Explain about features of local inner class?

607


What is the difference between hashmap and hashtable in java?

561


Can a static block throw exception?

662


Explain the difference between abstract class and interface in java?

541


What is the collection interface?

595


Is set sorted in java?

523


When does an object becomes eligible for garbage collection in java?

589


What is the significance of continue jump statement? Explain with an example.

752


Implementations of set interface?

569


Why do we declare a class static?

555