answersLogoWhite

0


Best Answer

By using the static block

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you print some message on the console without using main in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print the message without using printf and semicolon?

use cout << simple


How do you print on console without using printf or puts in c language?

write, putchar, putc, fputc etc


Is it possible to use write line without using console before it?

Yes, but why would you? Object oriented programming is about sending a message to an object. Console.WriteLine() is a perfect example: you are sending a message to Console to invoke its Writeline() method. Of course you can implement a WriteLine() function yourself, yet it is the same as sending a message to the calling object. anObject.Method() is one of the basis. So why omit Console? Then which object will receive Writeline() message.


How do you print without using Print Preview?

impossible sorry


What is the uses of quick print option?

Quick Print enables you to print without using the Print dialog box. If you just want to do a standard print, without changing settings then using the Quick Print saves some time.


How can print pictures without using the printer?

You can't. A printer is necessary to print pictures.


Is it possible to print matrix without using array?

Yes but why.


How do you re enter pelagius's mind in Skyrim.?

You can't without using mods or the console.


How do you bring back Kodak when he dies on Skyrim?

You can't without using a mod or console commands.


How can you install webcam console in Dell Inspiron 1525 laptop without using the CD?

jkn


Without using a semicolom you can print any charectar in c language?

how can we print without using semi coloum semi coloum ina c program is used to indicate the end of a line......without ; at end the compiler cannot proceed to next step


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg