How to print a statement without using semicolan in java

Answer Posted / prince kohli

claass WithoutSemicolon
{
public static void main(String args[])
{
if(System.out.printf("hello java")==null)
{}
}
}

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of callablestatement?

569


What is qms certification?

517


What are the 6 functions?

505


How do you find the maximum number from an array without comparing and sorting?

631


What is the null?

533






What are static initalizers in java ?

575


What is a parameter used for?

507


What is the final variable?

574


What are meta-annotations?

547


Explain Basics of OOP Language in java

584


How do you define a variable?

529


What is the class in java?

552


Why singleton pattern is better than creating singleton class with static instance?

528


what is meant wrapper classes?

600


Difference between this() and super() ?

569