why is S capital in System.out.println ????
Answers were Sorted based on User's Feedback
Answer / jjj
Because System is a predefined class in java and every
predefined class must starts with a capital letter...
Is This Answer Correct ? | 80 Yes | 6 No |
Answer / javac
Because System is a class available in Java.lang
package.According to java conventions class name should
start with Capital letter, and the same in implemented.
Is This Answer Correct ? | 19 Yes | 6 No |
Answer / horhe
simple because System is a class. Every class must start
with capital letter
Is This Answer Correct ? | 19 Yes | 11 No |
Answer / shaik baji
The "System" class is defined like that by the java
developer so if you want to use any static content of that
class then you should call them by using the Class name.
NOTE: 1) According to JAVA conventions every class name
should starts with capital letter.
2) Java is case sensitive.
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / sankar r k
System is a class in java. As per the convention in java all
the class must start with a capital letter.
Is This Answer Correct ? | 5 Yes | 7 No |
Answer / abhishek mittal
because System.out.println() is a class satement. hence,it should get some respect by using "S"
Is This Answer Correct ? | 4 Yes | 13 No |
What are assertions in java?
What is the purpose of assert keyword used in jdk1.4.x?
Is void a return type?
difference between java ,c#&java,c++
What is boolean keyword in java?
What are abstract classes and anonymous classes?
0 Answers Flextronics, Thomson Reuters, Virtusa,
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Is call by reference possible in java?
What is methodological framework?
What are different exception types exceptions available in java ?
Is a char always 1 byte?
What is object of class in java?