How to print a statement without using semicolan in java

Answer Posted / abhishek sahu

class PrintDemo
{
if(System.out.println("Hello"))
{
}
}

Is This Answer Correct ?    2 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you replace all in word?

692


Explain about varargs in java?

847


What is a return in java?

757


Why arraylist is not synchronized in java example?

652


What is the difference between a choice and a list?

798






What are the various access specifiers for java classes?

749


What is a dynamic array java?

694


Why we use protected in java?

715


Is array dynamic in java?

652


Why is it called a string?

726


what is method reference in java 8?

740


What are methods in java?

712


What is a method in java?

707


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1858


Is java developer a good career?

755