When I am using System.out.printIn("") to print a text, then with the "In" code the print is not printing why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When I am using System.out.printIn("") to print a text, then with the "In" code the print is not printing why?

System.out.println("I am learning Java"); The above line is the default. But when I am typing myself with the keyboard In , the programming is not working?

1st Aug 2018, 7:59 AM
Soumitra Roy
4 Answers
+ 1
Please provide a code example of your question.
1st Aug 2018, 8:04 AM
Mau
Mau - avatar
+ 1
You always have to write System.out.println("foo"); to output text. Only writing println("foo"); will not work. If that was your problem.
1st Aug 2018, 8:37 AM
Mau
Mau - avatar
+ 1
Soumitra Roy is this that if u write only println den the code is not working so according to my knowledge u should write full System.out.println(" "); because system is a predefined that when u write it enter into the system and out is the object stream and println is a method..... so the full line is necessary.....it is must ......hope u get it
1st Aug 2018, 1:35 PM
Harsh Agrawal
Harsh Agrawal - avatar
0
class MyClass { public static void main(String[] args) { System.out.printIn("hello"); } } This the actual code....what is showing on computer. But when I am typing the line 'printIn' through my keyboard then the program is not working
1st Aug 2018, 8:09 AM
Soumitra Roy