without ;

Ads
 

without ;

can u give me an example of a program without ;??

View Answers

March 31, 2011 at 1:29 PM

You can use the following ways:

1)

public class HelloWithoutSemicolon {

 public static void main(String[] args) {
 System.out.println("Hello")\u003B
 }
}

2)

public class HelloWithoutSemicolon {
 public static void main(String[] args) {
 if (System.out.append("Hello!" + System.getProperty("line.separator"))!=null){
 }
 }
}

Ads









Related Tutorials/Questions & Answers:
without ;
without ;  can u give me an example of a program without
without ;
without ;  can u give me an example of a program without
Advertisements
Action without a form.
Action without a form.  Can I have an Action without a form
Double To Int Without TypeCasting
Double To Int Without TypeCasting  How to convert Double to Int without using typecasting?   class ConvertDoubleToInt { public static void main(String[] args) { double d=25.5; int num=new
DataGrid without DataBase
DataGrid without DataBase  I want display list of data without using database. Ex- Employee have some elements like- name, sex, place, designation. I have to display the content of these elements but without having
without using built-in functions
without using built-in functions  Hai sir... Please help me to solve this... Findout occurances of each string in every another string (built - in functions are not at all allowed) all, and, sand, falling wall and sand
Sending email without authentication
Sending email without authentication  Hi sir, Am doing a project in JSP, in that i want to send mail without any authentication of password so send me code as soon as possible.   Please visit the following links
Iteration without loop
Iteration without loop  Hi, Is there any way I can have a line of code iterate a number of times set by the user without having a while loop or any other control statements? Thanks!   import java.util.*; class
html table without border
html table without border  How to create a html table without border?   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN..." content="text/html; charset=utf-8" /> <title>Table without borders<
print without newline in python
print without newline in python  Hi, I have a Python program in which it prints strings. But the output is coming in new line. But I want...") But the output is coming in new lines. I want to know how to print without
print without newline in python
print without newline in python  Hi, I have a Python program in which it prints strings. But the output is coming in new line. But I want...") But the output is coming in new lines. I want to know how to print without
Without Using Form in Java Script
Without Using Form in Java Script  HOw to Reset the data in javascript without using form tag
print reverse string without api
print reverse string without api  accept a string and print reverse without using api
using tiles without struts
using tiles without struts  Hi I am trying to make an application using tiles 2.0. Description of my web.xml is as follows: tiles org.apache.tiles.web.startup.TilesServlet
creating own ArrayList without Collections?
creating own ArrayList without Collections?  How can we write our own arraylist without using collections in JAVA
Pagination without using database in php
Pagination without using database in php  How can I show multiple images in multiple rows with pagination in php
Sorting arraylist without using Collection.sort()
Sorting arraylist without using Collection.sort()  Hi, How can I sort an arraylist without using Collection.sort() nad also I am not allowed to use any other data structure in the program? Is there any algorithm by using which I
Upload file without brouse button
Upload file without brouse button  Hi i want to upload 7 files without using browse button . I am using jscript to get the files and to view the files (.jpeg) .But I am not able to enter that address into file field can any body
vi command mode without esc
vi command mode without esc  Hi, What is the alternative key combination to esc in vi command? In other words how to go to the vi command mode without esc? Thanks   Hi, you can use the following command to go
How to print a webpage without url and date in jsp ?
How to print a webpage without url and date in jsp ?  How to print a webpage without url and date in jsp
Draw graph using jsp without database connection
Draw graph using jsp without database connection  Draw graph using jsp code without database connection
Add year to Date without using Calendar in java
Add year to Date without using Calendar in java  how could i add a year to a date function without using calendar functions
XII STD RECURSION WITHOUT SCANNER
XII STD RECURSION WITHOUT SCANNER  the recursive function gives a stack overflow error. I want to calculate the GDC ie the greatest Integer function for two input numbers. the code of my program is as follows and the error comes
ModuleNotFoundError: No module named 'distutils_build_without_typehints'
ModuleNotFoundError: No module named 'distutils_build_without_typehints' ...: ModuleNotFoundError: No module named 'distutils_build_without_typehints' How to remove the ModuleNotFoundError: No module named 'distutils_build_without_typehints'
ModuleNotFoundError: No module named 'django-test-without-migrations'
ModuleNotFoundError: No module named 'django-test-without-migrations' ...: No module named 'django-test-without-migrations' How to remove the ModuleNotFoundError: No module named 'django-test-without-migrations' error
ModuleNotFoundError: No module named 'django-test-without-migrations'
ModuleNotFoundError: No module named 'django-test-without-migrations' ...: No module named 'django-test-without-migrations' How to remove the ModuleNotFoundError: No module named 'django-test-without-migrations' error
ModuleNotFoundError: No module named 'ReadableDict-a-dict-without-brackets'
ModuleNotFoundError: No module named 'ReadableDict-a-dict-without-brackets...: ModuleNotFoundError: No module named 'ReadableDict-a-dict-without-brackets' How to remove the ModuleNotFoundError: No module named 'ReadableDict-a-dict-without
Version of jencks>xapool-without-pool dependency
List of Version of jencks>xapool-without-pool dependency
Drop Check constraint without constraint name in oracle
Drop Check constraint without constraint name in oracle  I created check constraint for my table.I forgot its name.Now I want to drop that constraint without constraint name
Round of to a multiple of 5 without using function
Round of to a multiple of 5 without using function  Please help me out... U enter values like 239, 2543.876, 962.... Give me an equation without using any function which will give output of 240, 2545, 960 respectively
Round of to a multiple of 5 without using function
Round of to a multiple of 5 without using function  Please help me out... U enter values like 239, 2543.876, 962.... Give me an equation without using any function which will give output of 240, 2545, 960 respectively

Ads