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?
4 Answers
+ 1
Please provide a code example of your question.
+ 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.
+ 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
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